Class CapacityProviderProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.lambda.CapacityProviderProps.Jsii$Proxy
All Implemented Interfaces:
CapacityProviderProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CapacityProviderProps

@Stability(Stable) @Internal public static final class CapacityProviderProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CapacityProviderProps
An implementation for CapacityProviderProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CapacityProviderProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CapacityProviderProps.Builder.
  • Method Details

    • getSecurityGroups

      public final List<ISecurityGroup> getSecurityGroups()
      Description copied from interface: CapacityProviderProps
      A list of security group IDs to associate with EC2 instances launched by the capacity provider.

      Up to 5 security groups can be specified.

      Specified by:
      getSecurityGroups in interface CapacityProviderProps
    • getSubnets

      public final List<ISubnet> getSubnets()
      Description copied from interface: CapacityProviderProps
      A list of subnets where the capacity provider can launch EC2 instances.

      At least one subnet must be specified, and up to 16 subnets are supported.

      Specified by:
      getSubnets in interface CapacityProviderProps
    • getArchitectures

      public final List<Architecture> getArchitectures()
      Description copied from interface: CapacityProviderProps
      The instruction set architecture required for compute instances.

      Only one architecture can be specified per capacity provider.

      Default: - No architecture constraints specified

      Specified by:
      getArchitectures in interface CapacityProviderProps
    • getCapacityProviderName

      public final String getCapacityProviderName()
      Description copied from interface: CapacityProviderProps
      The name of the capacity provider.

      The name must be unique within the AWS account and region.

      Default: - AWS CloudFormation generates a unique physical ID and uses that ID for the capacity provider's name.

      Specified by:
      getCapacityProviderName in interface CapacityProviderProps
    • getInstanceTypeFilter

      public final InstanceTypeFilter getInstanceTypeFilter()
      Description copied from interface: CapacityProviderProps
      Configuration for filtering instance types that the capacity provider can use.

      Default: - No instance type filtering applied

      Specified by:
      getInstanceTypeFilter in interface CapacityProviderProps
    • getKmsKey

      public final IKey getKmsKey()
      Description copied from interface: CapacityProviderProps
      The AWS Key Management Service (KMS) key used to encrypt data associated with the capacity provider.

      Default: - No KMS key specified, uses an AWS-managed key instead

      Specified by:
      getKmsKey in interface CapacityProviderProps
    • getMaxVCpuCount

      public final Number getMaxVCpuCount()
      Description copied from interface: CapacityProviderProps
      The maximum number of vCPUs that the capacity provider can scale up to.

      Default: - No maximum limit specified, service default is 400

      Specified by:
      getMaxVCpuCount in interface CapacityProviderProps
    • getOperatorRole

      public final IRole getOperatorRole()
      Description copied from interface: CapacityProviderProps
      The IAM role that the Lambda service assumes to manage the capacity provider.

      Default: - A role will be generated containing the AWSLambdaManagedEC2ResourceOperator managed policy

      Specified by:
      getOperatorRole in interface CapacityProviderProps
    • getScalingOptions

      public final ScalingOptions getScalingOptions()
      Description copied from interface: CapacityProviderProps
      The options for scaling a capacity provider, including scaling policies.

      Default: - The `Auto` option is applied by default

      Specified by:
      getScalingOptions in interface CapacityProviderProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object