@Stability(value=Stable) @Internal public static final class FargateProfileProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FargateProfileProps
FargateProfilePropssoftware.amazon.jsii.JsiiObject.InitializationModeFargateProfileProps.Builder, FargateProfileProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(Cluster cluster,
List<? extends Selector> selectors,
String fargateProfileName,
IRole podExecutionRole,
SubnetSelection subnetSelection,
IVpc vpc)
Constructor that initializes the object based on literal property values passed by the
FargateProfileProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Cluster |
getCluster()
The EKS cluster to apply the Fargate profile to.
|
String |
getFargateProfileName()
The name of the Fargate profile.
|
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.
|
SubnetSelection |
getSubnetSelection()
Select which subnets to launch your pods into.
|
IVpc |
getVpc()
The VPC from which to select subnets to launch your pods into.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(Cluster cluster, List<? extends Selector> selectors, String fargateProfileName, IRole podExecutionRole, SubnetSelection subnetSelection, IVpc vpc)
FargateProfileProps.Builder.public final Cluster getCluster()
FargateProfileProps[disable-awslint:ref-via-interface]
getCluster in interface FargateProfilePropspublic final List<Selector> getSelectors()
FargateProfileOptionsEach 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.
getSelectors in interface FargateProfileOptionspublic final String getFargateProfileName()
FargateProfileOptionsDefault: - generated
getFargateProfileName in interface FargateProfileOptionspublic final IRole getPodExecutionRole()
FargateProfileOptionsThe 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
getPodExecutionRole in interface FargateProfileOptionshttps://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.htmlpublic final SubnetSelection getSubnetSelection()
FargateProfileOptionsAt 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.
getSubnetSelection in interface FargateProfileOptionspublic final IVpc getVpc()
FargateProfileOptions
By default, all private subnets are selected. You can customize this using
subnetSelection.
Default: - all private subnets used by theEKS cluster
getVpc in interface FargateProfileOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.