AWS::ServiceCatalogAppRegistry::ResourceAssociation

Associates a resource with an application. Both the resource and the application can be specified either by ID or name.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::ServiceCatalogAppRegistry::ResourceAssociation", "Properties" : { "Application" : String, "Resource" : String, "ResourceType" : String } }

YAML

Type: AWS::ServiceCatalogAppRegistry::ResourceAssociation Properties: Application: String Resource: String ResourceType: String

Properties

Application

The name or ID of the application.

Required: Yes

Type: String

Update requires: No interruption

Resource

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

Required: Yes

Type: String

Update requires: No interruption

ResourceType

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

Required: Yes

Type: String

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the id.

For more information about using the Ref function, see Ref.

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

ApplicationArn

The Amazon resource name (ARN) that specifies the application.

Id

The Id of the Association.

ResourceArn

The Amazon resource name (ARN) that specifies the resource.