@Stability(value=Experimental) @Internal public static final class FargateClusterProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FargateClusterProps
FargateClusterPropssoftware.amazon.jsii.JsiiObject.InitializationModeFargateClusterProps.Builder, FargateClusterProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(FargateProfileOptions defaultProfile,
CoreDnsComputeType coreDnsComputeType,
EndpointAccess endpointAccess,
Map<String,String> kubectlEnvironment,
ILayerVersion kubectlLayer,
IRole mastersRole,
Boolean outputMastersRoleArn,
KubernetesVersion version,
String clusterName,
Boolean outputClusterName,
Boolean outputConfigCommand,
IRole role,
ISecurityGroup securityGroup,
IVpc vpc,
List<? extends SubnetSelection> vpcSubnets)
Constructor that initializes the object based on literal property values passed by the
FargateClusterProps.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) |
String |
getClusterName()
(experimental) Name for the cluster.
|
CoreDnsComputeType |
getCoreDnsComputeType()
(experimental) Controls the "eks.amazonaws.com/compute-type" annotation in the CoreDNS configuration on your cluster to determine which compute type to use for CoreDNS.
|
FargateProfileOptions |
getDefaultProfile()
(experimental) Fargate Profile to create along with the cluster.
|
EndpointAccess |
getEndpointAccess()
(experimental) Configure access to the Kubernetes API server endpoint..
|
Map<String,String> |
getKubectlEnvironment()
(experimental) Environment variables for the kubectl execution.
|
ILayerVersion |
getKubectlLayer()
(experimental) An AWS Lambda Layer which includes `kubectl`, Helm and the AWS CLI.
|
IRole |
getMastersRole()
(experimental) An IAM role that will be added to the `system:masters` Kubernetes RBAC group.
|
Boolean |
getOutputClusterName()
(experimental) Determines whether a CloudFormation output with the name of the cluster will be synthesized.
|
Boolean |
getOutputConfigCommand()
(experimental) Determines whether a CloudFormation output with the `aws eks update-kubeconfig` command will be synthesized.
|
Boolean |
getOutputMastersRoleArn()
(experimental) Determines whether a CloudFormation output with the ARN of the "masters" IAM role will be synthesized (if `mastersRole` is specified).
|
IRole |
getRole()
(experimental) Role that provides permissions for the Kubernetes control plane to make calls to AWS API operations on your behalf.
|
ISecurityGroup |
getSecurityGroup()
(experimental) Security Group to use for Control Plane ENIs.
|
KubernetesVersion |
getVersion()
(experimental) The Kubernetes version to run in the cluster.
|
IVpc |
getVpc()
(experimental) The VPC in which to create the Cluster.
|
List<SubnetSelection> |
getVpcSubnets()
(experimental) Where to place EKS Control Plane ENIs.
|
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(FargateProfileOptions defaultProfile, CoreDnsComputeType coreDnsComputeType, EndpointAccess endpointAccess, Map<String,String> kubectlEnvironment, ILayerVersion kubectlLayer, IRole mastersRole, Boolean outputMastersRoleArn, KubernetesVersion version, String clusterName, Boolean outputClusterName, Boolean outputConfigCommand, IRole role, ISecurityGroup securityGroup, IVpc vpc, List<? extends SubnetSelection> vpcSubnets)
FargateClusterProps.Builder.public final FargateProfileOptions getDefaultProfile()
FargateClusterPropsDefault: - A profile called "default" with 'default' and 'kube-system' selectors will be created if this is left undefined.
getDefaultProfile in interface FargateClusterPropspublic final CoreDnsComputeType getCoreDnsComputeType()
ClusterOptionsDefault: CoreDnsComputeType.EC2 (for `FargateCluster` the default is FARGATE)
getCoreDnsComputeType in interface ClusterOptionspublic final EndpointAccess getEndpointAccess()
ClusterOptionsDefault: EndpointAccess.PUBLIC_AND_PRIVATE
getEndpointAccess in interface ClusterOptionshttps://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.htmlpublic final Map<String,String> getKubectlEnvironment()
ClusterOptionsOnly relevant for kubectl enabled clusters.
Default: - No environment variables.
getKubectlEnvironment in interface ClusterOptionspublic final ILayerVersion getKubectlLayer()
ClusterOptionsBy default, the provider will use the layer included in the "aws-lambda-layer-kubectl" SAR application which is available in all commercial regions.
To deploy the layer locally, visit https://github.com/aws-samples/aws-lambda-layer-kubectl/blob/master/cdk/README.md for instructions on how to prepare the .zip file and then define it in your app as follows:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
var layer = LayerVersion.Builder.create(this, "kubectl-layer")
.code(lambda.Code.fromAsset(__dirname + "/layer.zip"))
.build();
var compatibleRuntimes = ;
Default: - the layer provided by the `aws-lambda-layer-kubectl` SAR app.
getKubectlLayer in interface ClusterOptionshttps://github.com/aws-samples/aws-lambda-layer-kubectlpublic final IRole getMastersRole()
ClusterOptionsDefault: - a role that assumable by anyone with permissions in the same account will automatically be defined
getMastersRole in interface ClusterOptionshttps://kubernetes.io/docs/reference/access-authn-authz/rbac/#default-roles-and-role-bindingspublic final Boolean getOutputMastersRoleArn()
ClusterOptionsDefault: false
getOutputMastersRoleArn in interface ClusterOptionspublic final KubernetesVersion getVersion()
CommonClusterOptionsgetVersion in interface CommonClusterOptionspublic final String getClusterName()
CommonClusterOptionsDefault: - Automatically generated name
getClusterName in interface CommonClusterOptionspublic final Boolean getOutputClusterName()
CommonClusterOptionsDefault: false
getOutputClusterName in interface CommonClusterOptionspublic final Boolean getOutputConfigCommand()
CommonClusterOptionsThis command will include the cluster name and, if applicable, the ARN of the masters IAM role.
Default: true
getOutputConfigCommand in interface CommonClusterOptionspublic final IRole getRole()
CommonClusterOptionsDefault: - A role is automatically created for you
getRole in interface CommonClusterOptionspublic final ISecurityGroup getSecurityGroup()
CommonClusterOptionsDefault: - A security group is automatically created
getSecurityGroup in interface CommonClusterOptionspublic final IVpc getVpc()
CommonClusterOptionsDefault: - a VPC with default configuration will be created and can be accessed through `cluster.vpc`.
getVpc in interface CommonClusterOptionspublic final List<SubnetSelection> getVpcSubnets()
CommonClusterOptionsIf you want to create public load balancers, this must include public subnets.
For example, to only select private subnets, supply the following:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
vpcSubnets: [
{ subnetType: ec2.SubnetType.Private }
]
Default: - All public and private subnets
getVpcSubnets in interface CommonClusterOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.