CloudControlState class
Input properties used for looking up and filtering CloudControl resources.
Constructors
-
CloudControlState({Input<
List< ? categories, Input<String> ?>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< ? parameterSpecs, Input<CloudControlParameterSpec> ?>String?> ? parent, Input<String?> ? remediationSteps, Input<List< ? rules, Input<CloudControlRule> ?>String?> ? severity, Input<List< ? supportedCloudProviders, Input<String> ?>List< ? supportedEnforcementModes, Input<String> ?>List< ? supportedTargetResourceTypes})String> ?> -
Creates a new CloudControlState.
categoriesThe categories of the cloud control.cloudControlIdID of the CloudControl.createTimeThe last updated time of the cloud control.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionA description of the cloud control. The maximum length is 2000 characters.displayNameThe display name of the cloud control. The maximum length is 200findingCategoryThe findingCategory of the cloud control. The maximum length is 255locationResource ID segment making up resourcename. It identifies the resource within its parent collection as described in https://google.aip.dev/122. Currently, only "global" is supported as a location.majorRevisionIdMajor revision of the cloud control incremented in ascending order.nameIdentifier. The resource name of the cloud control.organization(Optional, Deprecated)parameterSpecsThe parameter spec of the cloud control.parentThe parent resource in which to create the resource.relatedFrameworksThe Frameworks that include this CloudControlremediationStepsThe remediation steps for the findings generated by the cloud control. TherulesThe Policy to be enforced to prevent/detect resource non-compliance.severityPossible values:supportedCloudProviderscloud providers supportedsupportedEnforcementModesThe supported enforcement mode of the cloud control. Default is DETECTIVE.supportedTargetResourceTypestarget 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
-
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