@Stability(value=Experimental) @Internal public static final class FargateProfileProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FargateProfileProps
FargateProfileProps
software.amazon.jsii.JsiiObject.InitializationMode
FargateProfileProps.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()
(experimental) The EKS cluster to apply the Fargate profile to.
|
String |
getFargateProfileName()
(experimental) The name of the Fargate profile.
|
IRole |
getPodExecutionRole()
(experimental) The pod execution role to use for pods that match the selectors in the Fargate profile.
|
List<Selector> |
getSelectors()
(experimental) The selectors to match for pods to use this Fargate profile.
|
SubnetSelection |
getSubnetSelection()
(experimental) Select which subnets to launch your pods into.
|
IVpc |
getVpc()
(experimental) 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, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected 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 FargateProfileProps
public final List<Selector> getSelectors()
FargateProfileOptions
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.
getSelectors
in interface FargateProfileOptions
public final String getFargateProfileName()
FargateProfileOptions
Default: - generated
getFargateProfileName
in interface FargateProfileOptions
public final IRole getPodExecutionRole()
FargateProfileOptions
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
getPodExecutionRole
in interface FargateProfileOptions
https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html
public final SubnetSelection getSubnetSelection()
FargateProfileOptions
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.
getSubnetSelection
in interface FargateProfileOptions
public 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.JsiiSerializable
Copyright © 2021. All rights reserved.