Class: AWSCDK::Panorama::CfnApplicationInstanceProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Panorama::CfnApplicationInstanceProps
- Defined in:
- panorama/cfn_application_instance_props.rb
Overview
Properties for defining a CfnApplicationInstance.
Instance Attribute Summary collapse
-
#application_instance_id_to_replace ⇒ String?
readonly
The ID of an application instance to replace with the new instance.
-
#default_runtime_context_device ⇒ String
readonly
The device's ID.
-
#description ⇒ String?
readonly
A description for the application instance.
-
#manifest_overrides_payload ⇒ AWSCDK::IResolvable, ...
readonly
Setting overrides for the application manifest.
-
#manifest_payload ⇒ AWSCDK::IResolvable, AWSCDK::Panorama::CfnApplicationInstance::ManifestPayloadProperty
readonly
The application's manifest document.
-
#name ⇒ String?
readonly
A name for the application instance.
-
#runtime_role_arn ⇒ String?
readonly
The ARN of a runtime role for the application instance.
-
#tags ⇒ Array<AWSCDK::CfnTag>?
readonly
Tags for the application instance.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(default_runtime_context_device:, manifest_payload:, application_instance_id_to_replace: nil, description: nil, manifest_overrides_payload: nil, name: nil, runtime_role_arn: nil, tags: nil) ⇒ CfnApplicationInstanceProps
constructor
A new instance of CfnApplicationInstanceProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(default_runtime_context_device:, manifest_payload:, application_instance_id_to_replace: nil, description: nil, manifest_overrides_payload: nil, name: nil, runtime_role_arn: nil, tags: nil) ⇒ CfnApplicationInstanceProps
Returns a new instance of CfnApplicationInstanceProps.
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'panorama/cfn_application_instance_props.rb', line 17 def initialize(default_runtime_context_device:, manifest_payload:, application_instance_id_to_replace: nil, description: nil, manifest_overrides_payload: nil, name: nil, runtime_role_arn: nil, tags: nil) @default_runtime_context_device = default_runtime_context_device Jsii::Type.check_type(@default_runtime_context_device, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "defaultRuntimeContextDevice") @manifest_payload = manifest_payload.is_a?(Hash) ? ::AWSCDK::Panorama::CfnApplicationInstance::ManifestPayloadProperty.new(**manifest_payload.transform_keys(&:to_sym)) : manifest_payload Jsii::Type.check_type(@manifest_payload, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19wYW5vcmFtYS5DZm5BcHBsaWNhdGlvbkluc3RhbmNlLk1hbmlmZXN0UGF5bG9hZFByb3BlcnR5In1dfX0=")), "manifestPayload") @application_instance_id_to_replace = application_instance_id_to_replace Jsii::Type.check_type(@application_instance_id_to_replace, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "applicationInstanceIdToReplace") unless @application_instance_id_to_replace.nil? @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @manifest_overrides_payload = manifest_overrides_payload.is_a?(Hash) ? ::AWSCDK::Panorama::CfnApplicationInstance::ManifestOverridesPayloadProperty.new(**manifest_overrides_payload.transform_keys(&:to_sym)) : manifest_overrides_payload Jsii::Type.check_type(@manifest_overrides_payload, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19wYW5vcmFtYS5DZm5BcHBsaWNhdGlvbkluc3RhbmNlLk1hbmlmZXN0T3ZlcnJpZGVzUGF5bG9hZFByb3BlcnR5In1dfX0=")), "manifestOverridesPayload") unless @manifest_overrides_payload.nil? @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") unless @name.nil? @runtime_role_arn = runtime_role_arn Jsii::Type.check_type(@runtime_role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "runtimeRoleArn") unless @runtime_role_arn.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
#application_instance_id_to_replace ⇒ String? (readonly)
The ID of an application instance to replace with the new instance.
50 51 52 |
# File 'panorama/cfn_application_instance_props.rb', line 50 def application_instance_id_to_replace @application_instance_id_to_replace end |
#default_runtime_context_device ⇒ String (readonly)
The device's ID.
40 41 42 |
# File 'panorama/cfn_application_instance_props.rb', line 40 def default_runtime_context_device @default_runtime_context_device end |
#description ⇒ String? (readonly)
A description for the application instance.
55 56 57 |
# File 'panorama/cfn_application_instance_props.rb', line 55 def description @description end |
#manifest_overrides_payload ⇒ AWSCDK::IResolvable, ... (readonly)
Setting overrides for the application manifest.
60 61 62 |
# File 'panorama/cfn_application_instance_props.rb', line 60 def manifest_overrides_payload @manifest_overrides_payload end |
#manifest_payload ⇒ AWSCDK::IResolvable, AWSCDK::Panorama::CfnApplicationInstance::ManifestPayloadProperty (readonly)
The application's manifest document.
45 46 47 |
# File 'panorama/cfn_application_instance_props.rb', line 45 def manifest_payload @manifest_payload end |
#name ⇒ String? (readonly)
A name for the application instance.
65 66 67 |
# File 'panorama/cfn_application_instance_props.rb', line 65 def name @name end |
#runtime_role_arn ⇒ String? (readonly)
The ARN of a runtime role for the application instance.
70 71 72 |
# File 'panorama/cfn_application_instance_props.rb', line 70 def runtime_role_arn @runtime_role_arn end |
#tags ⇒ Array<AWSCDK::CfnTag>? (readonly)
Tags for the application instance.
75 76 77 |
# File 'panorama/cfn_application_instance_props.rb', line 75 def @tags end |
Class Method Details
.jsii_properties ⇒ Object
77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'panorama/cfn_application_instance_props.rb', line 77 def self.jsii_properties { :default_runtime_context_device => "defaultRuntimeContextDevice", :manifest_payload => "manifestPayload", :application_instance_id_to_replace => "applicationInstanceIdToReplace", :description => "description", :manifest_overrides_payload => "manifestOverridesPayload", :name => "name", :runtime_role_arn => "runtimeRoleArn", :tags => "tags", } end |
Instance Method Details
#to_jsii ⇒ Object
90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
# File 'panorama/cfn_application_instance_props.rb', line 90 def to_jsii result = {} result.merge!({ "defaultRuntimeContextDevice" => @default_runtime_context_device, "manifestPayload" => @manifest_payload, "applicationInstanceIdToReplace" => @application_instance_id_to_replace, "description" => @description, "manifestOverridesPayload" => @manifest_overrides_payload, "name" => @name, "runtimeRoleArn" => @runtime_role_arn, "tags" => @tags, }) result.compact end |