Interface CfnPodIdentityAssociationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPodIdentityAssociationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:01.435Z")
@Stability(Stable)
public interface CfnPodIdentityAssociationProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnPodIdentityAssociation
.
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.*; CfnPodIdentityAssociationProps cfnPodIdentityAssociationProps = CfnPodIdentityAssociationProps.builder() .clusterName("clusterName") .namespace("namespace") .roleArn("roleArn") .serviceAccount("serviceAccount") // the properties below are optional .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPodIdentityAssociationProps
static final class
An implementation forCfnPodIdentityAssociationProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The name of the cluster that the association is in.The name of the Kubernetes namespace inside the cluster to create the association in.The Amazon Resource Name (ARN) of the IAM role to associate with the service account.The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.getTags()
Metadata that assists with categorization and organization.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getClusterName
The name of the cluster that the association is in.- See Also:
-
getNamespace
The name of the Kubernetes namespace inside the cluster to create the association in.The service account and the pods that use the service account must be in this namespace.
- See Also:
-
getRoleArn
The Amazon Resource Name (ARN) of the IAM role to associate with the service account.The EKS Pod Identity agent manages credentials to assume this role for applications in the containers in the pods that use this service account.
- See Also:
-
getServiceAccount
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.- See Also:
-
getTags
Metadata that assists with categorization and organization.Each tag consists of a key and an optional value. You define both. Tags don't propagate to any other cluster or AWS resources.
The following basic restrictions apply to tags:
- Maximum number of tags per resource – 50
- For each resource, each tag key must be unique, and each tag key can have only one value.
- Maximum key length – 128 Unicode characters in UTF-8
- Maximum value length – 256 Unicode characters in UTF-8
- If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : /
- See Also:
-
builder
-