Class: AWSCDK::Interfaces::AWSECR::PullTimeUpdateExclusionReference

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
interfaces/awsecr/pull_time_update_exclusion_reference.rb

Overview

A reference to a PullTimeUpdateExclusion resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(principal_arn:) ⇒ PullTimeUpdateExclusionReference

Returns a new instance of PullTimeUpdateExclusionReference.

Parameters:

  • principal_arn (String)

    The PrincipalArn of the PullTimeUpdateExclusion resource.



8
9
10
11
# File 'interfaces/awsecr/pull_time_update_exclusion_reference.rb', line 8

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 PrincipalArn of the PullTimeUpdateExclusion resource.

Returns:

  • (String)


16
17
18
# File 'interfaces/awsecr/pull_time_update_exclusion_reference.rb', line 16

def principal_arn
  @principal_arn
end

Class Method Details

.jsii_propertiesObject



18
19
20
21
22
# File 'interfaces/awsecr/pull_time_update_exclusion_reference.rb', line 18

def self.jsii_properties
  {
    :principal_arn => "principalArn",
  }
end

Instance Method Details

#to_jsiiObject



24
25
26
27
28
29
30
# File 'interfaces/awsecr/pull_time_update_exclusion_reference.rb', line 24

def to_jsii
  result = {}
  result.merge!({
    "principalArn" => @principal_arn,
  })
  result.compact
end