drs:ExportSourceNetworkCfnTemplate is a Write access-level action in the drs service. Grants permission to export CloudFormation template which contains source network resources
ARNs that drs:ExportSourceNetworkCfnTemplate can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants drs:ExportSourceNetworkCfnTemplate.
Filters access by the presence of tag key-value pairs in the request
Filters access by the presence of tag keys in the request
Filters access by tag key-value pairs attached to the resource
A minimal policy that allows drs:ExportSourceNetworkCfnTemplate. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowDrsExportSourceNetworkCfnTemplate",
"Effect": "Allow",
"Action": "drs:ExportSourceNetworkCfnTemplate",
"Resource": "*"
}
]
}