Class: AWSCDK::APIGateway::CfnAccountProps
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::APIGateway::CfnAccountProps
- Defined in:
- api_gateway/cfn_account_props.rb
Overview
Properties for defining a CfnAccount.
Instance Attribute Summary collapse
-
#cloud_watch_role_arn ⇒ String, ...
readonly
The ARN of an Amazon CloudWatch role for the current Account.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(cloud_watch_role_arn: nil) ⇒ CfnAccountProps
constructor
A new instance of CfnAccountProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(cloud_watch_role_arn: nil) ⇒ CfnAccountProps
Returns a new instance of CfnAccountProps.
10 11 12 13 |
# File 'api_gateway/cfn_account_props.rb', line 10 def initialize(cloud_watch_role_arn: nil) @cloud_watch_role_arn = cloud_watch_role_arn Jsii::Type.check_type(@cloud_watch_role_arn, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoic3RyaW5nIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5pbnRlcmZhY2VzLmF3c19pYW0uSVJvbGVSZWYifV19fQ==")), "cloudWatchRoleArn") unless @cloud_watch_role_arn.nil? end |
Instance Attribute Details
#cloud_watch_role_arn ⇒ String, ... (readonly)
The ARN of an Amazon CloudWatch role for the current Account.
19 20 21 |
# File 'api_gateway/cfn_account_props.rb', line 19 def cloud_watch_role_arn @cloud_watch_role_arn end |
Class Method Details
.jsii_properties ⇒ Object
21 22 23 24 25 |
# File 'api_gateway/cfn_account_props.rb', line 21 def self.jsii_properties { :cloud_watch_role_arn => "cloudWatchRoleArn", } end |
Instance Method Details
#to_jsii ⇒ Object
27 28 29 30 31 32 33 |
# File 'api_gateway/cfn_account_props.rb', line 27 def to_jsii result = {} result.merge!({ "cloudWatchRoleArn" => @cloud_watch_role_arn, }) result.compact end |