class Amazonite::Lambda::CapacityProvider

Overview

A capacity provider manages compute resources for Lambda functions.

Included Modules

Defined in:

lambda/capacity_provider.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(capacity_provider_arn : String, state : CapacityProviderState, vpc_config : CapacityProviderVpcConfig, permissions_config : CapacityProviderPermissionsConfig, instance_requirements : InstanceRequirements | Nil = nil, capacity_provider_scaling_config : CapacityProviderScalingConfig | Nil = nil, kms_key_arn : String | Nil = nil, last_modified : String | Nil = nil, propagate_tags : PropagateTags | Nil = nil, telemetry_config : CapacityProviderTelemetryConfig | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def capacity_provider_arn : String #

The Amazon Resource Name (ARN) of the capacity provider.


[View source]
def capacity_provider_arn=(capacity_provider_arn : String) #

The Amazon Resource Name (ARN) of the capacity provider.


[View source]
def capacity_provider_scaling_config : CapacityProviderScalingConfig | Nil #

The scaling configuration for the capacity provider.


[View source]
def capacity_provider_scaling_config=(capacity_provider_scaling_config : CapacityProviderScalingConfig | Nil) #

The scaling configuration for the capacity provider.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def instance_requirements : InstanceRequirements | Nil #

The instance requirements for compute resources managed by the capacity provider.


[View source]
def instance_requirements=(instance_requirements : InstanceRequirements | Nil) #

The instance requirements for compute resources managed by the capacity provider.


[View source]
def kms_key_arn : String | Nil #

The ARN of the KMS key used to encrypt the capacity provider's resources.


[View source]
def kms_key_arn=(kms_key_arn : String | Nil) #

The ARN of the KMS key used to encrypt the capacity provider's resources.


[View source]
def last_modified : String | Nil #

The date and time when the capacity provider was last modified.


[View source]
def last_modified=(last_modified : String | Nil) #

The date and time when the capacity provider was last modified.


[View source]
def permissions_config : CapacityProviderPermissionsConfig #

The permissions configuration for the capacity provider.


[View source]
def permissions_config=(permissions_config : CapacityProviderPermissionsConfig) #

The permissions configuration for the capacity provider.


[View source]
def propagate_tags : PropagateTags | Nil #

[View source]
def propagate_tags=(propagate_tags : PropagateTags | Nil) #

[View source]
def state : CapacityProviderState #

The current state of the capacity provider.


[View source]
def state=(state : CapacityProviderState) #

The current state of the capacity provider.


[View source]
def telemetry_config : CapacityProviderTelemetryConfig | Nil #

The telemetry configuration for the capacity provider, including logging settings.


[View source]
def telemetry_config=(telemetry_config : CapacityProviderTelemetryConfig | Nil) #

The telemetry configuration for the capacity provider, including logging settings.


[View source]
def validate! : Nil #

[View source]
def vpc_config : CapacityProviderVpcConfig #

The VPC configuration for the capacity provider.


[View source]
def vpc_config=(vpc_config : CapacityProviderVpcConfig) #

The VPC configuration for the capacity provider.


[View source]