GetResourceArgs class

Arguments for getResource. Arguments for getResource.

Constructors

GetResourceArgs({required Input<String> identifier, Input<String?>? region, Input<String?>? roleArn, required Input<String> typeName, Input<String?>? typeVersionId})
Creates a new GetResourceArgs. identifier Identifier of the CloudFormation resource type. For example, vpc-12345678. 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. typeName CloudFormation resource type name. For example, AWS::EC2::VPC. typeVersionId Identifier of the CloudFormation resource type version.
const
GetResourceArgs.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
identifier → Input<String>
Identifier of the CloudFormation resource type. For example, vpc-12345678.
final
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
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