Create Access Preview
accessanalyzer_create_access_preview | R Documentation |
Creates an access preview that allows you to preview IAM Access Analyzer findings for your resource before deploying resource permissions¶
Description¶
Creates an access preview that allows you to preview IAM Access Analyzer findings for your resource before deploying resource permissions.
Usage¶
accessanalyzer_create_access_preview(analyzerArn, configurations,
clientToken)
Arguments¶
analyzerArn |
[required] The ARN
of the account analyzer used to generate the access preview. You can
only create an access preview for analyzers with an |
configurations |
[required] Access control configuration for your resource that is used to generate the access preview. The access preview includes findings for external access allowed to the resource with the proposed access control configuration. The configuration must contain exactly one element. |
clientToken |
A client token. |
Value¶
A list with the following syntax:
list(
id = "string"
)
Request syntax¶
svc$create_access_preview(
analyzerArn = "string",
configurations = list(
list(
ebsSnapshot = list(
userIds = list(
"string"
),
groups = list(
"string"
),
kmsKeyId = "string"
),
ecrRepository = list(
repositoryPolicy = "string"
),
iamRole = list(
trustPolicy = "string"
),
efsFileSystem = list(
fileSystemPolicy = "string"
),
kmsKey = list(
keyPolicies = list(
"string"
),
grants = list(
list(
operations = list(
"CreateGrant"|"Decrypt"|"DescribeKey"|"Encrypt"|"GenerateDataKey"|"GenerateDataKeyPair"|"GenerateDataKeyPairWithoutPlaintext"|"GenerateDataKeyWithoutPlaintext"|"GetPublicKey"|"ReEncryptFrom"|"ReEncryptTo"|"RetireGrant"|"Sign"|"Verify"
),
granteePrincipal = "string",
retiringPrincipal = "string",
constraints = list(
encryptionContextEquals = list(
"string"
),
encryptionContextSubset = list(
"string"
)
),
issuingAccount = "string"
)
)
),
rdsDbClusterSnapshot = list(
attributes = list(
list(
accountIds = list(
"string"
)
)
),
kmsKeyId = "string"
),
rdsDbSnapshot = list(
attributes = list(
list(
accountIds = list(
"string"
)
)
),
kmsKeyId = "string"
),
secretsManagerSecret = list(
kmsKeyId = "string",
secretPolicy = "string"
),
s3Bucket = list(
bucketPolicy = "string",
bucketAclGrants = list(
list(
permission = "READ"|"WRITE"|"READ_ACP"|"WRITE_ACP"|"FULL_CONTROL",
grantee = list(
id = "string",
uri = "string"
)
)
),
bucketPublicAccessBlock = list(
ignorePublicAcls = TRUE|FALSE,
restrictPublicBuckets = TRUE|FALSE
),
accessPoints = list(
list(
accessPointPolicy = "string",
publicAccessBlock = list(
ignorePublicAcls = TRUE|FALSE,
restrictPublicBuckets = TRUE|FALSE
),
networkOrigin = list(
vpcConfiguration = list(
vpcId = "string"
),
internetConfiguration = list()
)
)
)
),
snsTopic = list(
topicPolicy = "string"
),
sqsQueue = list(
queuePolicy = "string"
),
s3ExpressDirectoryBucket = list(
bucketPolicy = "string"
),
dynamodbStream = list(
streamPolicy = "string"
),
dynamodbTable = list(
tablePolicy = "string"
)
)
),
clientToken = "string"
)