AWS SDK Version 3 for .NET
API Reference

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 AssociateResource operation. Associates a resource with an application. The resource can be specified by its ARN or name. The application can be specified by ARN, ID, or name.

Minimum permissions

You must have the following permissions to associate a resource using the OPTIONS parameter set to APPLY_APPLICATION_TAG.

You must also have these additional permissions if you don't use the AWSServiceCatalogAppRegistryFullAccess policy. For more information, see AWSServiceCatalogAppRegistryFullAccess in the AppRegistry Administrator Guide.

In addition, you must have the tagging permission defined by the Amazon Web Services service that creates the resource. For more information, see TagResources in the Resource Groups Tagging API Reference.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.AppRegistry.AmazonAppRegistryRequest
      Amazon.AppRegistry.Model.AssociateResourceRequest

Namespace: Amazon.AppRegistry.Model
Assembly: AWSSDK.AppRegistry.dll
Version: 3.x.y.z

Syntax

C#
public class AssociateResourceRequest : AmazonAppRegistryRequest
         IAmazonWebServiceRequest

The AssociateResourceRequest type exposes the following members

Constructors

NameDescription
Public Method AssociateResourceRequest()

Properties

NameTypeDescription
Public Property Application System.String

Gets and sets the property Application.

The name, ID, or ARN of the application.

Public Property Options System.Collections.Generic.List<System.String>

Gets and sets the property Options.

Determines whether an application tag is applied or skipped.

Public Property Resource System.String

Gets and sets the property Resource.

The name or ID of the resource of which the application will be associated.

Public Property ResourceType Amazon.AppRegistry.ResourceType

Gets and sets the property ResourceType.

The type of resource of which the application will be associated.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5