Class CfnResourceAssociation
A CloudFormation AWS::ServiceCatalogAppRegistry::ResourceAssociation
.
Inherited Members
Namespace: Amazon.CDK.AWS.ServiceCatalogAppRegistry
Assembly: Amazon.CDK.AWS.ServiceCatalogAppRegistry.dll
Syntax (csharp)
public class CfnResourceAssociation : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnResourceAssociation
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Associates a resource with an application. Both the resource and the application can be specified either by ID or name.
CloudformationResource: AWS::ServiceCatalogAppRegistry::ResourceAssociation
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ServiceCatalogAppRegistry;
var cfnResourceAssociation = new CfnResourceAssociation(this, "MyCfnResourceAssociation", new CfnResourceAssociationProps {
Application = "application",
Resource = "resource",
ResourceType = "resourceType"
});
Synopsis
Constructors
CfnResourceAssociation(Construct, String, ICfnResourceAssociationProps) | Create a new |
CfnResourceAssociation(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnResourceAssociation(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
Application | The name or ID of the application. |
AttrApplicationArn | The Amazon resource name (ARN) that specifies the application. |
AttrId | The Id of the Association. |
AttrResourceArn | The Amazon resource name (ARN) that specifies the resource. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Resource | The name or ID of the resource of which the application will be associated. |
ResourceType | The type of resource of which the application will be associated. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnResourceAssociation(Construct, String, ICfnResourceAssociationProps)
Create a new AWS::ServiceCatalogAppRegistry::ResourceAssociation
.
public CfnResourceAssociation(Construct scope, string id, ICfnResourceAssociationProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnResourceAssociationProps
- resource properties.
CfnResourceAssociation(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnResourceAssociation(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnResourceAssociation(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnResourceAssociation(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
Application
The name or ID of the application.
public virtual string Application { get; set; }
Property Value
System.String
Remarks
AttrApplicationArn
The Amazon resource name (ARN) that specifies the application.
public virtual string AttrApplicationArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ApplicationArn
AttrId
The Id of the Association.
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
AttrResourceArn
The Amazon resource name (ARN) that specifies the resource.
public virtual string AttrResourceArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ResourceArn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Resource
The name or ID of the resource of which the application will be associated.
public virtual string Resource { get; set; }
Property Value
System.String
Remarks
ResourceType
The type of resource of which the application will be associated.
public virtual string ResourceType { get; set; }
Property Value
System.String
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>