Class: AWSCDK::ElasticLoadBalancingv2::TrustStoreProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::ElasticLoadBalancingv2::TrustStoreProps
- Defined in:
- elastic_load_balancingv2/trust_store_props.rb
Overview
Properties used for the Trust Store.
Instance Attribute Summary collapse
-
#bucket ⇒ AWSCDK::Interfaces::AWSS3::IBucketRef
readonly
The bucket that the trust store is hosted in.
-
#key ⇒ String
readonly
The key in S3 to look at for the trust store.
-
#trust_store_name ⇒ String?
readonly
The name of the trust store.
-
#version ⇒ String?
readonly
The version of the S3 object that contains your truststore.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket:, key:, trust_store_name: nil, version: nil) ⇒ TrustStoreProps
constructor
A new instance of TrustStoreProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket:, key:, trust_store_name: nil, version: nil) ⇒ TrustStoreProps
Returns a new instance of TrustStoreProps.
11 12 13 14 15 16 17 18 19 20 |
# File 'elastic_load_balancingv2/trust_store_props.rb', line 11 def initialize(bucket:, key:, trust_store_name: nil, version: nil) @bucket = bucket Jsii::Type.check_type(@bucket, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5pbnRlcmZhY2VzLmF3c19zMy5JQnVja2V0UmVmIn0=")), "bucket") @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") @trust_store_name = trust_store_name Jsii::Type.check_type(@trust_store_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "trustStoreName") unless @trust_store_name.nil? @version = version Jsii::Type.check_type(@version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "version") unless @version.nil? end |
Instance Attribute Details
#bucket ⇒ AWSCDK::Interfaces::AWSS3::IBucketRef (readonly)
The bucket that the trust store is hosted in.
25 26 27 |
# File 'elastic_load_balancingv2/trust_store_props.rb', line 25 def bucket @bucket end |
#key ⇒ String (readonly)
The key in S3 to look at for the trust store.
29 30 31 |
# File 'elastic_load_balancingv2/trust_store_props.rb', line 29 def key @key end |
#trust_store_name ⇒ String? (readonly)
Note:
Default: - Auto generated
The name of the trust store.
34 35 36 |
# File 'elastic_load_balancingv2/trust_store_props.rb', line 34 def trust_store_name @trust_store_name end |
#version ⇒ String? (readonly)
Note:
Default: - latest version
The version of the S3 object that contains your truststore.
To specify a version, you must have versioning enabled for the S3 bucket.
41 42 43 |
# File 'elastic_load_balancingv2/trust_store_props.rb', line 41 def version @version end |
Class Method Details
.jsii_properties ⇒ Object
43 44 45 46 47 48 49 50 |
# File 'elastic_load_balancingv2/trust_store_props.rb', line 43 def self.jsii_properties { :bucket => "bucket", :key => "key", :trust_store_name => "trustStoreName", :version => "version", } end |
Instance Method Details
#to_jsii ⇒ Object
52 53 54 55 56 57 58 59 60 61 |
# File 'elastic_load_balancingv2/trust_store_props.rb', line 52 def to_jsii result = {} result.merge!({ "bucket" => @bucket, "key" => @key, "trustStoreName" => @trust_store_name, "version" => @version, }) result.compact end |