Class: AWSCDK::ElasticLoadBalancingv2::CfnTrustStoreRevocationProps

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
elastic_load_balancingv2/cfn_trust_store_revocation_props.rb

Overview

Properties for defining a CfnTrustStoreRevocation.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(revocation_contents: nil, trust_store_arn: nil) ⇒ CfnTrustStoreRevocationProps

Returns a new instance of CfnTrustStoreRevocationProps.

Parameters:



11
12
13
14
15
16
# File 'elastic_load_balancingv2/cfn_trust_store_revocation_props.rb', line 11

def initialize(revocation_contents: nil, trust_store_arn: nil)
  @revocation_contents = revocation_contents
  Jsii::Type.check_type(@revocation_contents, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWxhc3RpY2xvYWRiYWxhbmNpbmd2Mi5DZm5UcnVzdFN0b3JlUmV2b2NhdGlvbi5SZXZvY2F0aW9uQ29udGVudFByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "revocationContents") unless @revocation_contents.nil?
  @trust_store_arn = trust_store_arn
  Jsii::Type.check_type(@trust_store_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "trustStoreArn") unless @trust_store_arn.nil?
end

Instance Attribute Details

#revocation_contentsAWSCDK::IResolvable, ... (readonly)

The revocation file to add.



22
23
24
# File 'elastic_load_balancingv2/cfn_trust_store_revocation_props.rb', line 22

def revocation_contents
  @revocation_contents
end

#trust_store_arnString? (readonly)

The Amazon Resource Name (ARN) of the trust store.



27
28
29
# File 'elastic_load_balancingv2/cfn_trust_store_revocation_props.rb', line 27

def trust_store_arn
  @trust_store_arn
end

Class Method Details

.jsii_propertiesObject



29
30
31
32
33
34
# File 'elastic_load_balancingv2/cfn_trust_store_revocation_props.rb', line 29

def self.jsii_properties
  {
    :revocation_contents => "revocationContents",
    :trust_store_arn => "trustStoreArn",
  }
end

Instance Method Details

#to_jsiiObject



36
37
38
39
40
41
42
43
# File 'elastic_load_balancingv2/cfn_trust_store_revocation_props.rb', line 36

def to_jsii
  result = {}
  result.merge!({
    "revocationContents" => @revocation_contents,
    "trustStoreArn" => @trust_store_arn,
  })
  result.compact
end