AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the DisassociateResource operation. Disassociates a resource from application. Both the resource and the application can be specified either by ID or name.
Minimum permissions
You must have the following permissions to remove a resource that's been associated
with an application using the APPLY_APPLICATION_TAG
option for AssociateResource.
tag:GetResources
tag:UntagResources
You must also have the following permissions if you don't use the AWSServiceCatalogAppRegistryFullAccess
policy. For more information, see AWSServiceCatalogAppRegistryFullAccess
in the AppRegistry Administrator Guide.
resource-groups:DisassociateResource
cloudformation:UpdateStack
cloudformation:DescribeStacks
In addition, you must have the tagging permission defined by the Amazon Web Services service that creates the resource. For more information, see UntagResources in the Resource Groups Tagging API Reference.
Namespace: Amazon.AppRegistry.Model
Assembly: AWSSDK.AppRegistry.dll
Version: 3.x.y.z
public class DisassociateResourceRequest : AmazonAppRegistryRequest IAmazonWebServiceRequest
The DisassociateResourceRequest type exposes the following members
Name | Description | |
---|---|---|
DisassociateResourceRequest() |
Name | Type | Description | |
---|---|---|---|
Application | System.String |
Gets and sets the property Application. The name or ID of the application. |
|
Resource | System.String |
Gets and sets the property Resource. The name or ID of the resource. |
|
ResourceType | Amazon.AppRegistry.ResourceType |
Gets and sets the property ResourceType. The type of the resource that is being disassociated. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5