Class: AWSCDK::CloudFormation::CfnPublisherProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::CloudFormation::CfnPublisherProps
- Defined in:
- cloud_formation/cfn_publisher_props.rb
Overview
Properties for defining a CfnPublisher.
Instance Attribute Summary collapse
-
#accept_terms_and_conditions ⇒ Boolean, AWSCDK::IResolvable
readonly
Whether you accept the Terms and Conditions for publishing extensions in the CloudFormation registry.
-
#connection_arn ⇒ String?
readonly
If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(accept_terms_and_conditions:, connection_arn: nil) ⇒ CfnPublisherProps
constructor
A new instance of CfnPublisherProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(accept_terms_and_conditions:, connection_arn: nil) ⇒ CfnPublisherProps
Returns a new instance of CfnPublisherProps.
11 12 13 14 15 16 |
# File 'cloud_formation/cfn_publisher_props.rb', line 11 def initialize(accept_terms_and_conditions:, connection_arn: nil) @accept_terms_and_conditions = accept_terms_and_conditions Jsii::Type.check_type(@accept_terms_and_conditions, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "acceptTermsAndConditions") @connection_arn = connection_arn Jsii::Type.check_type(@connection_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "connectionArn") unless @connection_arn.nil? end |
Instance Attribute Details
#accept_terms_and_conditions ⇒ Boolean, AWSCDK::IResolvable (readonly)
Whether you accept the Terms and Conditions for publishing extensions in the CloudFormation registry. You must accept the terms and conditions in order to register to publish public extensions to the CloudFormation registry.
The default is false .
24 25 26 |
# File 'cloud_formation/cfn_publisher_props.rb', line 24 def accept_terms_and_conditions @accept_terms_and_conditions end |
#connection_arn ⇒ String? (readonly)
If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.
For more information, see Prerequisite: Registering your account to publish CloudFormation extensions in the AWS CloudFormation Command Line Interface (CLI) User Guide .
31 32 33 |
# File 'cloud_formation/cfn_publisher_props.rb', line 31 def connection_arn @connection_arn end |
Class Method Details
.jsii_properties ⇒ Object
33 34 35 36 37 38 |
# File 'cloud_formation/cfn_publisher_props.rb', line 33 def self.jsii_properties { :accept_terms_and_conditions => "acceptTermsAndConditions", :connection_arn => "connectionArn", } end |
Instance Method Details
#to_jsii ⇒ Object
40 41 42 43 44 45 46 47 |
# File 'cloud_formation/cfn_publisher_props.rb', line 40 def to_jsii result = {} result.merge!({ "acceptTermsAndConditions" => @accept_terms_and_conditions, "connectionArn" => @connection_arn, }) result.compact end |