Class: AWSCDK::ECR::CfnPullTimeUpdateExclusionProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ECR::CfnPullTimeUpdateExclusionProps
- Defined in:
- ecr/cfn_pull_time_update_exclusion_props.rb
Overview
Properties for defining a CfnPullTimeUpdateExclusion.
Instance Attribute Summary collapse
-
#principal_arn ⇒ String
readonly
The ARN of the IAM principal to remove from the pull time update exclusion list.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(principal_arn:) ⇒ CfnPullTimeUpdateExclusionProps
constructor
A new instance of CfnPullTimeUpdateExclusionProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(principal_arn:) ⇒ CfnPullTimeUpdateExclusionProps
Returns a new instance of CfnPullTimeUpdateExclusionProps.
10 11 12 13 |
# File 'ecr/cfn_pull_time_update_exclusion_props.rb', line 10 def initialize(principal_arn:) @principal_arn = principal_arn Jsii::Type.check_type(@principal_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "principalArn") end |
Instance Attribute Details
#principal_arn ⇒ String (readonly)
The ARN of the IAM principal to remove from the pull time update exclusion list.
19 20 21 |
# File 'ecr/cfn_pull_time_update_exclusion_props.rb', line 19 def principal_arn @principal_arn end |
Class Method Details
.jsii_properties ⇒ Object
21 22 23 24 25 |
# File 'ecr/cfn_pull_time_update_exclusion_props.rb', line 21 def self.jsii_properties { :principal_arn => "principalArn", } end |
Instance Method Details
#to_jsii ⇒ Object
27 28 29 30 31 32 33 |
# File 'ecr/cfn_pull_time_update_exclusion_props.rb', line 27 def to_jsii result = {} result.merge!({ "principalArn" => @principal_arn, }) result.compact end |