Class: AWSCDK::Lambda::CfnCapacityProvider::CapacityProviderPermissionsConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
lambda/cfn_capacity_provider.rb

Overview

Configuration that specifies the permissions required for the capacity provider to manage compute resources.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(capacity_provider_operator_role_arn:) ⇒ CapacityProviderPermissionsConfigProperty

Returns a new instance of CapacityProviderPermissionsConfigProperty.

Parameters:

  • capacity_provider_operator_role_arn (String)

    The ARN of the IAM role that the capacity provider uses to manage compute instances and other AWS resources.



694
695
696
697
# File 'lambda/cfn_capacity_provider.rb', line 694

def initialize(capacity_provider_operator_role_arn:)
  @capacity_provider_operator_role_arn = capacity_provider_operator_role_arn
  Jsii::Type.check_type(@capacity_provider_operator_role_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "capacityProviderOperatorRoleArn")
end

Instance Attribute Details

#capacity_provider_operator_role_arnString (readonly)

The ARN of the IAM role that the capacity provider uses to manage compute instances and other AWS resources.



703
704
705
# File 'lambda/cfn_capacity_provider.rb', line 703

def capacity_provider_operator_role_arn
  @capacity_provider_operator_role_arn
end

Class Method Details

.jsii_propertiesObject



705
706
707
708
709
# File 'lambda/cfn_capacity_provider.rb', line 705

def self.jsii_properties
  {
    :capacity_provider_operator_role_arn => "capacityProviderOperatorRoleArn",
  }
end

Instance Method Details

#to_jsiiObject



711
712
713
714
715
716
717
# File 'lambda/cfn_capacity_provider.rb', line 711

def to_jsii
  result = {}
  result.merge!({
    "capacityProviderOperatorRoleArn" => @capacity_provider_operator_role_arn,
  })
  result.compact
end