@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:06.346Z") @Stability(value=Stable) public interface CfnClusterProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.eks.*;
Object provider;
CfnClusterProps cfnClusterProps = CfnClusterProps.builder()
.resourcesVpcConfig(ResourcesVpcConfigProperty.builder()
.subnetIds(List.of("subnetIds"))
// the properties below are optional
.endpointPrivateAccess(false)
.endpointPublicAccess(false)
.publicAccessCidrs(List.of("publicAccessCidrs"))
.securityGroupIds(List.of("securityGroupIds"))
.build())
.roleArn("roleArn")
// the properties below are optional
.encryptionConfig(List.of(EncryptionConfigProperty.builder()
.provider(provider)
.resources(List.of("resources"))
.build()))
.kubernetesNetworkConfig(KubernetesNetworkConfigProperty.builder()
.serviceIpv4Cidr("serviceIpv4Cidr")
.build())
.logging(LoggingProperty.builder()
.clusterLogging(ClusterLoggingProperty.builder()
.enabledTypes(List.of(LoggingTypeConfigProperty.builder()
.type("type")
.build()))
.build())
.build())
.name("name")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.version("version")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnClusterProps.Builder
A builder for
CfnClusterProps |
static class |
CfnClusterProps.Jsii$Proxy
An implementation for
CfnClusterProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnClusterProps.Builder |
builder() |
default Object |
getEncryptionConfig()
`AWS::EKS::Cluster.EncryptionConfig`.
|
default Object |
getKubernetesNetworkConfig()
`AWS::EKS::Cluster.KubernetesNetworkConfig`.
|
default Object |
getLogging()
`AWS::EKS::Cluster.Logging`.
|
default String |
getName()
`AWS::EKS::Cluster.Name`.
|
Object |
getResourcesVpcConfig()
`AWS::EKS::Cluster.ResourcesVpcConfig`.
|
String |
getRoleArn()
`AWS::EKS::Cluster.RoleArn`.
|
default List<CfnTag> |
getTags()
`AWS::EKS::Cluster.Tags`.
|
default String |
getVersion()
`AWS::EKS::Cluster.Version`.
|
@Stability(value=Stable) @Nullable default Object getEncryptionConfig()
@Stability(value=Stable) @Nullable default Object getKubernetesNetworkConfig()
@Stability(value=Stable) @Nullable default Object getLogging()
@Stability(value=Stable) @Nullable default String getName()
@Stability(value=Stable) @NotNull Object getResourcesVpcConfig()
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) @Nullable default String getVersion()
@Stability(value=Stable) static CfnClusterProps.Builder builder()
CfnClusterProps.Builder of CfnClusterPropsCopyright © 2021. All rights reserved.