Class: AWSCDK::EC2::CfnSpotFleet::IAMInstanceProfileSpecificationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnSpotFleet::IAMInstanceProfileSpecificationProperty
- Defined in:
- ec2/cfn_spot_fleet.rb
Overview
Describes an IAM instance profile.
Instance Attribute Summary collapse
-
#arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the instance profile.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arn: nil) ⇒ IAMInstanceProfileSpecificationProperty
constructor
A new instance of IAMInstanceProfileSpecificationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(arn: nil) ⇒ IAMInstanceProfileSpecificationProperty
Returns a new instance of IAMInstanceProfileSpecificationProperty.
1110 1111 1112 1113 |
# File 'ec2/cfn_spot_fleet.rb', line 1110 def initialize(arn: nil) @arn = arn Jsii::Type.check_type(@arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arn") unless @arn.nil? end |
Instance Attribute Details
#arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of the instance profile.
1119 1120 1121 |
# File 'ec2/cfn_spot_fleet.rb', line 1119 def arn @arn end |
Class Method Details
.jsii_properties ⇒ Object
1121 1122 1123 1124 1125 |
# File 'ec2/cfn_spot_fleet.rb', line 1121 def self.jsii_properties { :arn => "arn", } end |
Instance Method Details
#to_jsii ⇒ Object
1127 1128 1129 1130 1131 1132 1133 |
# File 'ec2/cfn_spot_fleet.rb', line 1127 def to_jsii result = {} result.merge!({ "arn" => @arn, }) result.compact end |