CmdID / aws / aws route53profiles
aws route53profiles disassociate-resource-from-profile
Dissoaciated a specified resource, from the Route 53 Profile. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To disassociate a resource from Profile
The following disassociate-resource-from-profile example disassociates a DNS Firewall rule group from a Profile.
aws route53profiles disassociate-resource-from-profile --profile-id rp-4987774726example --resource-arn arn:aws:route53resolver:us-west-2:123456789012:firewall-rule-group/rslvr-frg-cfe7f72exampleIdentify--profile-idThe ID of the Profile.--resource-arnThe Amazon Resource Name (ARN) of the resource.Its output
{
"ProfileResourceAssociation": {
"CreationTime": 1710851216.613,
"Id": "rpr-001913120a7example",
"ModificationTime": 1710852624.36,
"Name": "test-resource-association",
"OwnerId": "123456789012",
"ProfileId": "rp-4987774726example",
"ResourceArn": "arn:aws:route53resolver:us-west-2:123456789012:firewall-rule-group/rslvr-frg-cfe7f72example",
"ResourceProperties": "{\"priority\":105}",
"ResourceType": "FIREWALL_RULE_GROUP",
"Status": "DELETING",
"StatusMessage": "Deleting the Profile to DNS Firewall rule group association"
}
}For more information, see Disassociating a resource from an Amazon Route 53 Profile in the Amazon Route 53 Developer Guide.
Options
--profile-idThe ID of the Profile.--resource-arnThe Amazon Resource Name (ARN) of the resource.