ResourceArgs class
The set of arguments for Resource. The set of arguments for Resource.
Constructors
-
ResourceArgs({required Input<
String> desiredState, Input<String?> ? region, Input<String?> ? roleArn, Input<String?> ? schema, required Input<String> typeName, Input<String?> ? typeVersionId}) -
Creates a new ResourceArgs.
desiredStateJSON string matching the CloudFormation resource type schema with desired configuration.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.roleArnARN of the IAM Role to assume for operations.schemaJSON 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 sametypeName, it is recommended to fetch the schema once via theaws.cloudformation.CloudFormationTypedata source and use this argument to reduceDescribeTypeAPI operation throttling. This value is marked sensitive only to prevent large plan differences from showing.typeNameCloudFormation resource type name. For example,AWS::EC2::VPC.typeVersionIdIdentifier of the CloudFormation resource type version.const -
ResourceArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
desiredState
→ Input<
String> -
JSON string matching the CloudFormation resource type schema with desired configuration.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
-
roleArn
→ Input<
String?> ? -
ARN of the IAM Role to assume for operations.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
schema
→ Input<
String?> ? -
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 theaws.cloudformation.CloudFormationTypedata source and use this argument to reduceDescribeTypeAPI operation throttling. This value is marked sensitive only to prevent large plan differences from showing.final -
typeName
→ Input<
String> -
CloudFormation resource type name. For example,
AWS::EC2::VPC.final -
typeVersionId
→ Input<
String?> ? -
Identifier of the CloudFormation resource type version.
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