CloudControlState class

Input properties used for looking up and filtering CloudControl resources.

Constructors

CloudControlState({Input<List<String>?>? categories, Input<String?>? cloudControlId, Input<String?>? createTime, Input<String?>? deletionPolicy, Input<String?>? description, Input<String?>? displayName, Input<String?>? findingCategory, Input<String?>? location, Input<String?>? majorRevisionId, Input<String?>? name, Input<String?>? organization, Input<List<CloudControlParameterSpec>?>? parameterSpecs, Input<String?>? parent, Input<List<String>?>? relatedFrameworks, Input<String?>? remediationSteps, Input<List<CloudControlRule>?>? rules, Input<String?>? severity, Input<List<String>?>? supportedCloudProviders, Input<List<String>?>? supportedEnforcementModes, Input<List<String>?>? supportedTargetResourceTypes})
Creates a new CloudControlState. categories The categories of the cloud control. cloudControlId ID of the CloudControl. createTime The last updated time of the cloud control. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description A description of the cloud control. The maximum length is 2000 characters. displayName The display name of the cloud control. The maximum length is 200 findingCategory The findingCategory of the cloud control. The maximum length is 255 location Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. Currently, only "global" is supported as a location. majorRevisionId Major revision of the cloud control incremented in ascending order. name Identifier. The resource name of the cloud control. organization (Optional, Deprecated) parameterSpecs The parameter spec of the cloud control. parent The parent resource in which to create the resource. relatedFrameworks The Frameworks that include this CloudControl remediationSteps The remediation steps for the findings generated by the cloud control. The rules The Policy to be enforced to prevent/detect resource non-compliance. severity Possible values: supportedCloudProviders cloud providers supported supportedEnforcementModes The supported enforcement mode of the cloud control. Default is DETECTIVE. supportedTargetResourceTypes target resource types supported by the CloudControl.
const
CloudControlState.fromMap(Map<String, dynamic> map)
factory

Properties

categories → Input<List<String>?>?
The categories of the cloud control.
final
cloudControlId → Input<String?>?
ID of the CloudControl. This is the last segment of the CloudControl resource name. Format: ^a-zA-Z{0,61}[a-zA-Z0-9]$.
final
createTime → Input<String?>?
The last updated time of the cloud control. The createTime is used because a new CC is created whenever we update an existing CC.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
A description of the cloud control. The maximum length is 2000 characters.
final
displayName → Input<String?>?
The display name of the cloud control. The maximum length is 200 characters.
final
findingCategory → Input<String?>?
The findingCategory of the cloud control. The maximum length is 255 characters.
final
hashCode → int
The hash code for this object.
no setterinherited
location → Input<String?>?
Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. Currently, only "global" is supported as a location.
final
majorRevisionId → Input<String?>?
Major revision of the cloud control incremented in ascending order.
final
name → Input<String?>?
Identifier. The resource name of the cloud control. Format: organizations/{organization}/locations/{location}/cloudControls/{cloud_control_id}
final
organization → Input<String?>?
(Optional, Deprecated) Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
final
parameterSpecs → Input<List<CloudControlParameterSpec>?>?
The parameter spec of the cloud control. Structure is documented below.
final
parent → Input<String?>?
The parent resource in which to create the resource. Must be in one of the following formats:
final
relatedFrameworks → Input<List<String>?>?
The Frameworks that include this CloudControl
final
remediationSteps → Input<String?>?
The remediation steps for the findings generated by the cloud control. The maximum length is 400 characters.
final
rules → Input<List<CloudControlRule>?>?
The Policy to be enforced to prevent/detect resource non-compliance. Structure is documented below.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
severity → Input<String?>?
Possible values: CRITICAL HIGH MEDIUM LOW
final
supportedCloudProviders → Input<List<String>?>?
cloud providers supported
final
supportedEnforcementModes → Input<List<String>?>?
The supported enforcement mode of the cloud control. Default is DETECTIVE.
final
supportedTargetResourceTypes → Input<List<String>?>?
target resource types supported by the CloudControl.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited