@Generated(value="jsii-pacmak/1.24.0 (build b722f66)", date="2021-03-11T13:47:08.076Z") @Stability(value=Stable) public interface FargateProfileOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
FargateProfileOptions.Builder
A builder for
FargateProfileOptions |
static class |
FargateProfileOptions.Jsii$Proxy
An implementation for
FargateProfileOptions |
| Modifier and Type | Method and Description |
|---|---|
static FargateProfileOptions.Builder |
builder() |
default String |
getFargateProfileName()
The name of the Fargate profile.
|
default IRole |
getPodExecutionRole()
The pod execution role to use for pods that match the selectors in the Fargate profile.
|
List<Selector> |
getSelectors()
The selectors to match for pods to use this Fargate profile.
|
default SubnetSelection |
getSubnetSelection()
Select which subnets to launch your pods into.
|
default IVpc |
getVpc()
The VPC from which to select subnets to launch your pods into.
|
@Stability(value=Stable) @NotNull List<Selector> getSelectors()
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.
@Stability(value=Stable) @Nullable default String getFargateProfileName()
Default: - generated
@Stability(value=Stable) @Nullable default IRole getPodExecutionRole()
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
https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html@Stability(value=Stable) @Nullable default SubnetSelection getSubnetSelection()
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.
Default: - all private subnets of the VPC are selected.
@Stability(value=Stable) @Nullable default IVpc getVpc()
By default, all private subnets are selected. You can customize this using
subnetSelection.
Default: - all private subnets used by theEKS cluster
@Stability(value=Stable) static FargateProfileOptions.Builder builder()
FargateProfileOptions.Builder of FargateProfileOptionsCopyright © 2021. All rights reserved.