Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.
AmazonEKSLocalOutpostServiceRolePolicy
Deskripsi: Memungkinkan Amazon EKS Lokal untuk memanggil AWS layanan atas nama Anda.
AmazonEKSLocalOutpostServiceRolePolicy
adalah kebijakan yang AWS dikelola.
Menggunakan kebijakan ini
Kebijakan ini dilampirkan pada peran terkait layanan yang memungkinkan layanan melakukan tindakan atas nama Anda. Anda tidak dapat melampirkan kebijakan ini ke pengguna, grup, atau peran Anda.
Rincian kebijakan
-
Jenis: Kebijakan peran terkait layanan
-
Waktu pembuatan: 23 Agustus 2022, 21:53 UTC
-
Waktu yang telah diedit: 24 Oktober 2022, 16.24 UTC
-
ARN:
arn:aws:iam::aws:policy/aws-service-role/AmazonEKSLocalOutpostServiceRolePolicy
Versi kebijakan
Versi kebijakan: v2 (default)
Versi default kebijakan adalah versi yang menentukan izin untuk kebijakan tersebut. Saat pengguna atau peran dengan kebijakan membuat permintaan untuk mengakses AWS sumber daya, AWS periksa versi default kebijakan untuk menentukan apakah akan mengizinkan permintaan tersebut.
Dokumen kebijakan JSON
{ "Version" : "2012-10-17", "Statement" : [ { "Effect" : "Allow", "Action" : [ "ec2:DescribeVpcs", "ec2:DescribeSubnets", "ec2:DescribeRouteTables", "ec2:DescribeAddresses", "ec2:DescribeImages", "ec2:DescribeInstances", "ec2:DescribeNetworkInterfaces", "ec2:DescribeNetworkInterfaceAttribute", "ec2:DescribeSecurityGroups", "ec2:DescribeVpcAttribute", "ec2:DescribePlacementGroups" ], "Resource" : "*" }, { "Effect" : "Allow", "Action" : [ "ec2:CreateNetworkInterface" ], "Resource" : "arn:aws:ec2:*:*:network-interface/*", "Condition" : { "StringLike" : { "aws:RequestTag/eks-local:controlplane-name" : "*" } } }, { "Effect" : "Allow", "Action" : [ "ec2:CreateNetworkInterface" ], "Resource" : [ "arn:aws:ec2:*:*:security-group/*", "arn:aws:ec2:*:*:subnet/*" ] }, { "Effect" : "Allow", "Action" : [ "ec2:ModifyNetworkInterfaceAttribute" ], "Resource" : [ "arn:aws:ec2:*:*:instance/*", "arn:aws:ec2:*:*:security-group/*", "arn:aws:ec2:*:*:network-interface/*" ], "Condition" : { "StringLike" : { "aws:ResourceTag/eks-local:controlplane-name" : "*" } } }, { "Effect" : "Allow", "Action" : [ "ec2:CreateSecurityGroup" ], "Resource" : "arn:aws:ec2:*:*:security-group/*", "Condition" : { "StringLike" : { "aws:RequestTag/eks-local:controlplane-name" : "*" } } }, { "Effect" : "Allow", "Action" : [ "ec2:CreateSecurityGroup" ], "Resource" : "arn:aws:ec2:*:*:vpc/*" }, { "Effect" : "Allow", "Action" : "ec2:RunInstances", "Resource" : "arn:aws:ec2:*:*:instance/*", "Condition" : { "StringLike" : { "aws:RequestTag/eks-local:controlplane-name" : "*" } } }, { "Effect" : "Allow", "Action" : "ec2:RunInstances", "Resource" : [ "arn:aws:ec2:*:*:volume/*", "arn:aws:ec2:*:*:image/*", "arn:aws:ec2:*:*:launch-template/*", "arn:aws:ec2:*:*:network-interface/*", "arn:aws:ec2:*:*:security-group/*", "arn:aws:ec2:*:*:subnet/*", "arn:aws:ec2:*:*:placement-group/*" ] }, { "Effect" : "Allow", "Action" : [ "ec2:AuthorizeSecurityGroupIngress", "ec2:RevokeSecurityGroupIngress", "ec2:DeleteNetworkInterface", "ec2:DeleteSecurityGroup", "ec2:TerminateInstances", "ec2:GetConsoleOutput" ], "Resource" : "*", "Condition" : { "StringLike" : { "aws:ResourceTag/eks-local:controlplane-name" : "*" } } }, { "Effect" : "Allow", "Action" : "ec2:CreateTags", "Resource" : [ "arn:aws:ec2:*:*:security-group/*", "arn:aws:ec2:*:*:network-interface/*", "arn:aws:ec2:*:*:instance/*" ], "Condition" : { "ForAnyValue:StringLike" : { "aws:TagKeys" : [ "kubernetes.io/cluster/*", "eks*" ] }, "StringEquals" : { "ec2:CreateAction" : [ "CreateNetworkInterface", "CreateSecurityGroup", "RunInstances" ] } } }, { "Effect" : "Allow", "Action" : [ "secretsmanager:TagResource" ], "Resource" : "arn:aws:secretsmanager:*:*:secret:eks-local.cluster.x-k8s.io/*", "Condition" : { "ForAnyValue:StringLike" : { "aws:TagKeys" : [ "kubernetes.io/cluster/*", "eks*" ] } } }, { "Effect" : "Allow", "Action" : [ "secretsmanager:CreateSecret" ], "Resource" : "arn:aws:secretsmanager:*:*:secret:eks-local.cluster.x-k8s.io/*", "Condition" : { "StringLike" : { "aws:RequestTag/eks-local:controlplane-name" : "*" } } }, { "Effect" : "Allow", "Action" : "secretsmanager:DeleteSecret", "Resource" : "arn:aws:secretsmanager:*:*:secret:eks-local.cluster.x-k8s.io/*", "Condition" : { "StringLike" : { "aws:ResourceTag/eks-local:controlplane-name" : "*" } } }, { "Effect" : "Allow", "Action" : "secretsmanager:DescribeSecret", "Resource" : "arn:aws:secretsmanager:*:*:secret:eks-local.cluster.x-k8s.io/*" }, { "Effect" : "Allow", "Action" : [ "iam:PassRole" ], "Resource" : "*", "Condition" : { "StringEquals" : { "iam:PassedToService" : "ec2.amazonaws.com" } } }, { "Effect" : "Allow", "Action" : [ "iam:GetInstanceProfile", "iam:DeleteInstanceProfile", "iam:RemoveRoleFromInstanceProfile" ], "Resource" : "arn:aws:iam::*:instance-profile/eks-local-*" }, { "Effect" : "Allow", "Action" : [ "ssm:StartSession" ], "Resource" : "arn:aws:ec2:*:*:instance/*", "Condition" : { "StringLike" : { "ssm:resourceTag/eks-local:controlplane-name" : "*" } } }, { "Effect" : "Allow", "Action" : [ "ssm:StartSession" ], "Resource" : "arn:aws:ssm:*::document/AmazonEKS-ControlPlaneInstanceProxy" }, { "Effect" : "Allow", "Action" : [ "ssm:ResumeSession", "ssm:TerminateSession" ], "Resource" : "*" }, { "Effect" : "Allow", "Action" : [ "outposts:GetOutpost" ], "Resource" : "*" } ] }