route53profiles:AssociateResourceToProfile

Write

route53profiles:AssociateResourceToProfile is a Write access-level action in the route53profiles service. Grants permission to associates a resource, such as DNS Firewall rule group, private hosted zone, resolver rule, etc. to a specified Profile

Resource types

This action does not support resource-level permissions; use "Resource": "*" in your policy.

Condition keys

Keys you can use in the Condition block of a policy that grants route53profiles:AssociateResourceToProfile.

route53profiles:FirewallRuleGroupPriority Numeric

Filters access by priority range of a Firewall Rule Group

route53profiles:HostedZoneDomains String

Filters access by Hosted Zone domains

route53profiles:ResolverRuleDomains String

Filters access by Resolver Rule domains

route53profiles:ResourceArns ARN

Filters access by specific resource ARNs

route53profiles:ResourceTypes String

Filters access by specific resource type. Possible options include 'HostedZone', 'FirewallRuleGroup', 'ResolverQueryLoggingConfig', 'ResolverRule', and 'VpcEndpoint'

Example IAM policy

A minimal policy that allows route53profiles:AssociateResourceToProfile. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowRoute53profilesAssociateResourceToProfile",
      "Effect": "Allow",
      "Action": "route53profiles:AssociateResourceToProfile",
      "Resource": "*"
    }
  ]
}

Related actions in route53profiles

View all route53profiles actions →