Class: AWSCDK::ElasticLoadBalancingv2::CfnTrustStoreProps

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

Overview

Properties for defining a CfnTrustStore.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ca_certificates_bundle_s3_bucket: nil, ca_certificates_bundle_s3_key: nil, ca_certificates_bundle_s3_object_version: nil, name: nil, tags: nil) ⇒ CfnTrustStoreProps

Returns a new instance of CfnTrustStoreProps.

Parameters:

  • ca_certificates_bundle_s3_bucket (String, nil) (defaults to: nil)

    The Amazon S3 bucket for the ca certificates bundle.

  • ca_certificates_bundle_s3_key (String, nil) (defaults to: nil)

    The Amazon S3 path for the ca certificates bundle.

  • ca_certificates_bundle_s3_object_version (String, nil) (defaults to: nil)

    The Amazon S3 object version for the ca certificates bundle.

  • name (String, nil) (defaults to: nil)

    The name of the trust store.

  • tags (Array<AWSCDK::CfnTag>, nil) (defaults to: nil)

    The tags to assign to the trust store.



14
15
16
17
18
19
20
21
22
23
24
25
# File 'elastic_load_balancingv2/cfn_trust_store_props.rb', line 14

def initialize(ca_certificates_bundle_s3_bucket: nil, ca_certificates_bundle_s3_key: nil, ca_certificates_bundle_s3_object_version: nil, name: nil, tags: nil)
  @ca_certificates_bundle_s3_bucket = ca_certificates_bundle_s3_bucket
  Jsii::Type.check_type(@ca_certificates_bundle_s3_bucket, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "caCertificatesBundleS3Bucket") unless @ca_certificates_bundle_s3_bucket.nil?
  @ca_certificates_bundle_s3_key = ca_certificates_bundle_s3_key
  Jsii::Type.check_type(@ca_certificates_bundle_s3_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "caCertificatesBundleS3Key") unless @ca_certificates_bundle_s3_key.nil?
  @ca_certificates_bundle_s3_object_version = ca_certificates_bundle_s3_object_version
  Jsii::Type.check_type(@ca_certificates_bundle_s3_object_version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "caCertificatesBundleS3ObjectVersion") unless @ca_certificates_bundle_s3_object_version.nil?
  @name = name
  Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil?
  @tags = tags.is_a?(Array) ? tags.map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : tags
  Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil?
end

Instance Attribute Details

#ca_certificates_bundle_s3_bucketString? (readonly)

The Amazon S3 bucket for the ca certificates bundle.



31
32
33
# File 'elastic_load_balancingv2/cfn_trust_store_props.rb', line 31

def ca_certificates_bundle_s3_bucket
  @ca_certificates_bundle_s3_bucket
end

#ca_certificates_bundle_s3_keyString? (readonly)

The Amazon S3 path for the ca certificates bundle.



36
37
38
# File 'elastic_load_balancingv2/cfn_trust_store_props.rb', line 36

def ca_certificates_bundle_s3_key
  @ca_certificates_bundle_s3_key
end

#ca_certificates_bundle_s3_object_versionString? (readonly)

The Amazon S3 object version for the ca certificates bundle.

If undefined the current version is used.



43
44
45
# File 'elastic_load_balancingv2/cfn_trust_store_props.rb', line 43

def ca_certificates_bundle_s3_object_version
  @ca_certificates_bundle_s3_object_version
end

#nameString? (readonly)

The name of the trust store.



48
49
50
# File 'elastic_load_balancingv2/cfn_trust_store_props.rb', line 48

def name
  @name
end

#tagsArray<AWSCDK::CfnTag>? (readonly)

The tags to assign to the trust store.



53
54
55
# File 'elastic_load_balancingv2/cfn_trust_store_props.rb', line 53

def tags
  @tags
end

Class Method Details

.jsii_propertiesObject



55
56
57
58
59
60
61
62
63
# File 'elastic_load_balancingv2/cfn_trust_store_props.rb', line 55

def self.jsii_properties
  {
    :ca_certificates_bundle_s3_bucket => "caCertificatesBundleS3Bucket",
    :ca_certificates_bundle_s3_key => "caCertificatesBundleS3Key",
    :ca_certificates_bundle_s3_object_version => "caCertificatesBundleS3ObjectVersion",
    :name => "name",
    :tags => "tags",
  }
end

Instance Method Details

#to_jsiiObject



65
66
67
68
69
70
71
72
73
74
75
# File 'elastic_load_balancingv2/cfn_trust_store_props.rb', line 65

def to_jsii
  result = {}
  result.merge!({
    "caCertificatesBundleS3Bucket" => @ca_certificates_bundle_s3_bucket,
    "caCertificatesBundleS3Key" => @ca_certificates_bundle_s3_key,
    "caCertificatesBundleS3ObjectVersion" => @ca_certificates_bundle_s3_object_version,
    "name" => @name,
    "tags" => @tags,
  })
  result.compact
end