AWS::EKS::PodIdentityAssociationAn object representing an Amazon EKS PodIdentityAssociation.
8 configurable properties. 4 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
ClusterName | string | RequiredCreate-only |
Namespace | string | RequiredCreate-only |
RoleArn | string | Required |
ServiceAccount | string | RequiredCreate-only |
DisableSessionTags | boolean | |
Policy | string | |
Tags | Array<Tag> | |
TargetRoleArn | string |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
AssociationArn | string | The ARN of the pod identity association. |
AssociationId | string | The ID of the pod identity association. |
ExternalId | string | The External Id of the pod identity association. |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EKS::PodIdentityAssociation
Resources:
MyResource:
Type: AWS::EKS::PodIdentityAssociation
Properties:
ClusterName: "my-clustername"
RoleArn: "arn:aws:service:region:account:resource"
Namespace: "my-namespace"
ServiceAccount: "value"
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
eks:CreatePodIdentityAssociationeks:DescribePodIdentityAssociationeks:TagResourceiam:PassRoleiam:GetRoleeks:DescribePodIdentityAssociationeks:DescribePodIdentityAssociationeks:UpdatePodIdentityAssociationeks:TagResourceeks:UntagResourceiam:PassRoleiam:GetRoleeks:DeletePodIdentityAssociationeks:DescribePodIdentityAssociationeks:ListPodIdentityAssociationsOur bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to NewsletterAssociationArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ClusterNameNamespaceServiceAccount