ResourceState constructor
Creates a new ResourceState.
desiredState JSON string matching the CloudFormation resource type schema with desired configuration.
properties JSON string matching the CloudFormation resource type schema with current configuration. Underlying attributes can be referenced via the jsondecode() function, for example, jsondecode(data.aws_cloudcontrolapi_resource.example.properties)["example"].
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
roleArn ARN of the IAM Role to assume for operations.
schema JSON string of the CloudFormation resource type schema which is used for plan time validation where possible. Automatically fetched if not provided. In large scale environments with multiple resources using the same typeName, it is recommended to fetch the schema once via the aws.cloudformation.CloudFormationType data source and use this argument to reduce DescribeType API operation throttling. This value is marked sensitive only to prevent large plan differences from showing.
typeName CloudFormation resource type name. For example, AWS::EC2::VPC.
typeVersionId Identifier of the CloudFormation resource type version.
Implementation
const ResourceState({
this.desiredState,
this.properties,
this.region,
this.roleArn,
this.schema,
this.typeName,
this.typeVersionId,
});