Interface CfnAddon.PodIdentityAssociationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAddon.PodIdentityAssociationProperty.Jsii$Proxy
- Enclosing class:
CfnAddon
@Stability(Stable)
public static interface CfnAddon.PodIdentityAssociationProperty
extends software.amazon.jsii.JsiiSerializable
Amazon EKS Pod Identity associations provide the ability to manage credentials for your applications, similar to the way that Amazon EC2 instance profiles provide credentials to Amazon EC2 instances.
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.*; PodIdentityAssociationProperty podIdentityAssociationProperty = PodIdentityAssociationProperty.builder() .roleArn("roleArn") .serviceAccount("serviceAccount") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAddon.PodIdentityAssociationProperty
static final class
An implementation forCfnAddon.PodIdentityAssociationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
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.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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:
-
builder
-