Class: AWSCDK::AppConfig::CfnExtension::ActionProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::AppConfig::CfnExtension::ActionProperty
- Defined in:
- app_config/cfn_extension.rb
Overview
The actions defined in the extension.
Instance Attribute Summary collapse
-
#description ⇒ String?
readonly
Information about actions defined in the extension.
-
#name ⇒ String
readonly
The extension name.
-
#role_arn ⇒ String?
readonly
An Amazon Resource Name (ARN) for an AWS Identity and Access Management assume role.
-
#uri ⇒ String
readonly
The extension URI associated to the action point in the extension definition.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(name:, uri:, description: nil, role_arn: nil) ⇒ ActionProperty
constructor
A new instance of ActionProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(name:, uri:, description: nil, role_arn: nil) ⇒ ActionProperty
Returns a new instance of ActionProperty.
611 612 613 614 615 616 617 618 619 620 |
# File 'app_config/cfn_extension.rb', line 611 def initialize(name:, uri:, description: nil, role_arn: nil) @name = name Jsii::Type.check_type(@name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "name") @uri = uri Jsii::Type.check_type(@uri, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "uri") @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @role_arn = role_arn Jsii::Type.check_type(@role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "roleArn") unless @role_arn.nil? end |
Instance Attribute Details
#description ⇒ String? (readonly)
Information about actions defined in the extension.
638 639 640 |
# File 'app_config/cfn_extension.rb', line 638 def description @description end |
#name ⇒ String (readonly)
The extension name.
626 627 628 |
# File 'app_config/cfn_extension.rb', line 626 def name @name end |
#role_arn ⇒ String? (readonly)
An Amazon Resource Name (ARN) for an AWS Identity and Access Management assume role.
643 644 645 |
# File 'app_config/cfn_extension.rb', line 643 def role_arn @role_arn end |
#uri ⇒ String (readonly)
The extension URI associated to the action point in the extension definition.
The URI can be an Amazon Resource Name (ARN) for one of the following: an AWS Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.
633 634 635 |
# File 'app_config/cfn_extension.rb', line 633 def uri @uri end |
Class Method Details
.jsii_properties ⇒ Object
645 646 647 648 649 650 651 652 |
# File 'app_config/cfn_extension.rb', line 645 def self.jsii_properties { :name => "name", :uri => "uri", :description => "description", :role_arn => "roleArn", } end |
Instance Method Details
#to_jsii ⇒ Object
654 655 656 657 658 659 660 661 662 663 |
# File 'app_config/cfn_extension.rb', line 654 def to_jsii result = {} result.merge!({ "name" => @name, "uri" => @uri, "description" => @description, "roleArn" => @role_arn, }) result.compact end |