Class: AWSCDK::Proton::CfnServiceTemplateProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Proton::CfnServiceTemplateProps
- Defined in:
- proton/cfn_service_template_props.rb
Overview
Properties for defining a CfnServiceTemplate.
Instance Attribute Summary collapse
-
#description ⇒ String?
readonly
A description of the service template.
-
#display_name ⇒ String?
readonly
The service template name as displayed in the developer interface.
-
#encryption_key ⇒ String?
readonly
The customer provided service template encryption key that's used to encrypt data.
-
#name ⇒ String?
readonly
The name of the service template.
-
#pipeline_provisioning ⇒ String?
readonly
If
pipelineProvisioningistrue, a service pipeline is included in the service template. -
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
An object that includes the template bundle S3 bucket path and name for the new version of a service template.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(description: nil, display_name: nil, encryption_key: nil, name: nil, pipeline_provisioning: nil, tags: nil) ⇒ CfnServiceTemplateProps
constructor
A new instance of CfnServiceTemplateProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(description: nil, display_name: nil, encryption_key: nil, name: nil, pipeline_provisioning: nil, tags: nil) ⇒ CfnServiceTemplateProps
Returns a new instance of CfnServiceTemplateProps.
15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'proton/cfn_service_template_props.rb', line 15 def initialize(description: nil, display_name: nil, encryption_key: nil, name: nil, pipeline_provisioning: nil, tags: nil) @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @display_name = display_name Jsii::Type.check_type(@display_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "displayName") unless @display_name.nil? @encryption_key = encryption_key Jsii::Type.check_type(@encryption_key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "encryptionKey") unless @encryption_key.nil? @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? @pipeline_provisioning = pipeline_provisioning Jsii::Type.check_type(@pipeline_provisioning, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "pipelineProvisioning") unless @pipeline_provisioning.nil? @tags = .is_a?(Array) ? .map { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CfnTag.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : Jsii::Type.check_type(@tags, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLkNmblRhZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "tags") unless @tags.nil? end |
Instance Attribute Details
#description ⇒ String? (readonly)
A description of the service template.
34 35 36 |
# File 'proton/cfn_service_template_props.rb', line 34 def description @description end |
#display_name ⇒ String? (readonly)
The service template name as displayed in the developer interface.
39 40 41 |
# File 'proton/cfn_service_template_props.rb', line 39 def display_name @display_name end |
#encryption_key ⇒ String? (readonly)
The customer provided service template encryption key that's used to encrypt data.
44 45 46 |
# File 'proton/cfn_service_template_props.rb', line 44 def encryption_key @encryption_key end |
#name ⇒ String? (readonly)
The name of the service template.
49 50 51 |
# File 'proton/cfn_service_template_props.rb', line 49 def name @name end |
#pipeline_provisioning ⇒ String? (readonly)
If pipelineProvisioning is true , a service pipeline is included in the service template.
Otherwise, a service pipeline isn't included in the service template.
56 57 58 |
# File 'proton/cfn_service_template_props.rb', line 56 def pipeline_provisioning @pipeline_provisioning end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
An object that includes the template bundle S3 bucket path and name for the new version of a service template.
61 62 63 |
# File 'proton/cfn_service_template_props.rb', line 61 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
63 64 65 66 67 68 69 70 71 72 |
# File 'proton/cfn_service_template_props.rb', line 63 def self.jsii_properties { :description => "description", :display_name => "displayName", :encryption_key => "encryptionKey", :name => "name", :pipeline_provisioning => "pipelineProvisioning", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
74 75 76 77 78 79 80 81 82 83 84 85 |
# File 'proton/cfn_service_template_props.rb', line 74 def to_jsii result = {} result.merge!({ "description" => @description, "displayName" => @display_name, "encryptionKey" => @encryption_key, "name" => @name, "pipelineProvisioning" => @pipeline_provisioning, "tags" => @tags, }) result.compact end |