Class: AWSCDK::ECR::CfnPullTimeUpdateExclusionProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
ecr/cfn_pull_time_update_exclusion_props.rb

Overview

Properties for defining a CfnPullTimeUpdateExclusion.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(principal_arn:) ⇒ CfnPullTimeUpdateExclusionProps

Returns a new instance of CfnPullTimeUpdateExclusionProps.

Parameters:

  • principal_arn (String)

    The ARN of the IAM principal to remove from the pull time update exclusion list.



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_arnString (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_propertiesObject



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_jsiiObject



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