Class FargateProfileProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class FargateProfileProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FargateProfileProps
An implementation for FargateProfileProps
  • 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(FargateProfileProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the FargateProfileProps.Builder.
  • Method Details

    • getCluster

      public final Cluster getCluster()
      Description copied from interface: FargateProfileProps
      The EKS cluster to apply the Fargate profile to.

      [disable-awslint:ref-via-interface]

      Specified by:
      getCluster in interface FargateProfileProps
    • getSelectors

      public final List<Selector> getSelectors()
      Description copied from interface: FargateProfileOptions
      The selectors to match for pods to use this Fargate profile.

      Each selector must have an associated namespace. Optionally, you can also specify labels for a namespace.

      At least one selector is required and you may specify up to five selectors.

      Specified by:
      getSelectors in interface FargateProfileOptions
    • getFargateProfileName

      public final String getFargateProfileName()
      Description copied from interface: FargateProfileOptions
      The name of the Fargate profile.

      Default: - generated

      Specified by:
      getFargateProfileName in interface FargateProfileOptions
    • getPodExecutionRole

      public final IRole getPodExecutionRole()
      Description copied from interface: FargateProfileOptions
      The pod execution role to use for pods that match the selectors in the Fargate profile.

      The pod execution role allows Fargate infrastructure to register with your cluster as a node, and it provides read access to Amazon ECR image repositories.

      Default: - a role will be automatically created

      Specified by:
      getPodExecutionRole in interface FargateProfileOptions
      See Also:
    • getSubnetSelection

      public final SubnetSelection getSubnetSelection()
      Description copied from interface: FargateProfileOptions
      Select which subnets to launch your pods into.

      At this time, pods running on Fargate are not assigned public IP addresses, so only private subnets (with no direct route to an Internet Gateway) are allowed.

      You must specify the VPC to customize the subnet selection

      Default: - all private subnets of the VPC are selected.

      Specified by:
      getSubnetSelection in interface FargateProfileOptions
    • getVpc

      public final IVpc getVpc()
      Description copied from interface: FargateProfileOptions
      The VPC from which to select subnets to launch your pods into.

      By default, all private subnets are selected. You can customize this using subnetSelection.

      Default: - all private subnets used by the EKS cluster

      Specified by:
      getVpc in interface FargateProfileOptions
    • $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