AWSMigrationHubRefactorSpacesServiceRolePolicy - AWS Kebijakan Terkelola

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

AWSMigrationHubRefactorSpacesServiceRolePolicy

Deskripsi: Menyediakan akses ke AWS Sumber Daya yang dikelola atau digunakan oleh AWS Migration Hub Refactor Spaces.

AWSMigrationHubRefactorSpacesServiceRolePolicyadalah 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: 29 November 2021, 06:50 UTC

  • Waktu yang telah diedit: 20 Juli 2023, 15:57 UTC

  • ARN: arn:aws:iam::aws:policy/aws-service-role/AWSMigrationHubRefactorSpacesServiceRolePolicy

Versi kebijakan

Versi kebijakan: v3 (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:DescribeNetworkInterfaces", "ec2:DescribeRouteTables", "ec2:DescribeSubnets", "ec2:DescribeSecurityGroups", "ec2:DescribeVpcEndpointServiceConfigurations", "ec2:DescribeTransitGatewayVpcAttachments", "elasticloadbalancing:DescribeTargetHealth", "elasticloadbalancing:DescribeListeners", "elasticloadbalancing:DescribeTargetGroups", "ram:GetResourceShareAssociations" ], "Resource" : "*" }, { "Effect" : "Allow", "Action" : [ "ec2:AuthorizeSecurityGroupIngress", "ec2:RevokeSecurityGroupIngress", "ec2:DeleteSecurityGroup", "ec2:DeleteTransitGatewayVpcAttachment", "ec2:CreateRoute", "ec2:DeleteRoute", "ec2:DeleteTags", "ram:DeleteResourceShare", "ram:AssociateResourceShare", "ram:DisassociateResourceShare" ], "Resource" : "*", "Condition" : { "Null" : { "aws:ResourceTag/refactor-spaces:environment-id" : "false" } } }, { "Effect" : "Allow", "Action" : "ec2:DeleteVpcEndpointServiceConfigurations", "Resource" : "*", "Condition" : { "Null" : { "aws:ResourceTag/refactor-spaces:application-id" : "false" } } }, { "Effect" : "Allow", "Action" : [ "elasticloadbalancing:RegisterTargets", "elasticloadbalancing:CreateLoadBalancerListeners", "elasticloadbalancing:CreateListener", "elasticloadbalancing:DeleteListener", "elasticloadbalancing:DeleteTargetGroup" ], "Resource" : "*", "Condition" : { "StringLike" : { "aws:ResourceTag/refactor-spaces:route-id" : [ "*" ] } } }, { "Effect" : "Allow", "Action" : [ "apigateway:PUT", "apigateway:POST", "apigateway:GET", "apigateway:PATCH", "apigateway:DELETE" ], "Resource" : [ "arn:aws:apigateway:*::/restapis", "arn:aws:apigateway:*::/restapis/*", "arn:aws:apigateway:*::/vpclinks/*", "arn:aws:apigateway:*::/tags", "arn:aws:apigateway:*::/tags/*" ], "Condition" : { "Null" : { "aws:ResourceTag/refactor-spaces:application-id" : "false" } } }, { "Effect" : "Allow", "Action" : "apigateway:GET", "Resource" : "arn:aws:apigateway:*::/vpclinks/*" }, { "Effect" : "Allow", "Action" : "elasticloadbalancing:DeleteLoadBalancer", "Resource" : "arn:*:elasticloadbalancing:*:*:loadbalancer/net/refactor-spaces-nlb-*" }, { "Effect" : "Allow", "Action" : [ "elasticloadbalancing:AddTags", "elasticloadbalancing:CreateListener" ], "Resource" : [ "arn:*:elasticloadbalancing:*:*:loadbalancer/net/refactor-spaces-nlb-*", "arn:*:elasticloadbalancing:*:*:listener/net/refactor-spaces-nlb-*" ], "Condition" : { "Null" : { "aws:RequestTag/refactor-spaces:route-id" : "false" } } }, { "Effect" : "Allow", "Action" : "elasticloadbalancing:DeleteListener", "Resource" : "arn:*:elasticloadbalancing:*:*:listener/net/refactor-spaces-nlb-*" }, { "Effect" : "Allow", "Action" : [ "elasticloadbalancing:DeleteTargetGroup", "elasticloadbalancing:RegisterTargets" ], "Resource" : "arn:*:elasticloadbalancing:*:*:targetgroup/refactor-spaces-tg-*" }, { "Effect" : "Allow", "Action" : [ "elasticloadbalancing:DeregisterTargets" ], "Resource" : "arn:*:elasticloadbalancing:*:*:targetgroup/refactor-spaces-tg-*", "Condition" : { "Null" : { "aws:ResourceTag/refactor-spaces:route-id" : "false" } } }, { "Effect" : "Allow", "Action" : [ "elasticloadbalancing:AddTags", "elasticloadbalancing:CreateTargetGroup" ], "Resource" : "arn:*:elasticloadbalancing:*:*:targetgroup/refactor-spaces-tg-*", "Condition" : { "Null" : { "aws:RequestTag/refactor-spaces:route-id" : "false" } } } ] }

Pelajari selengkapnya