interface PodIdentityAssociationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.EKS.CfnAddon.PodIdentityAssociationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awseks#CfnAddon_PodIdentityAssociationProperty |
![]() | software.amazon.awscdk.services.eks.CfnAddon.PodIdentityAssociationProperty |
![]() | aws_cdk.aws_eks.CfnAddon.PodIdentityAssociationProperty |
![]() | aws-cdk-lib » aws_eks » CfnAddon » PodIdentityAssociationProperty |
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 { aws_eks as eks } from 'aws-cdk-lib';
const podIdentityAssociationProperty: eks.CfnAddon.PodIdentityAssociationProperty = {
roleArn: 'roleArn',
serviceAccount: 'serviceAccount',
};
Properties
Name | Type | Description |
---|---|---|
role | string | The Amazon Resource Name (ARN) of the IAM role to associate with the service account. |
service | string | The name of the Kubernetes service account inside the cluster to associate the IAM credentials with. |
roleArn
Type:
string
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.
serviceAccount
Type:
string
The name of the Kubernetes service account inside the cluster to associate the IAM credentials with.