@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.114Z") @Stability(value=Stable) public class CfnResourceAssociation extends CfnResource implements IInspectable
The AWS::ServiceCatalogAppRegistry::ResourceAssociation resource for ServiceCatalogAppRegistry .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.servicecatalogappregistry.*;
CfnResourceAssociation cfnResourceAssociation = CfnResourceAssociation.Builder.create(this, "MyCfnResourceAssociation")
.application("application")
.resource("resource")
.resourceType("resourceType")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnResourceAssociation.Builder
A fluent builder for
CfnResourceAssociation. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnResourceAssociation(software.constructs.Construct scope,
String id,
CfnResourceAssociationProps props)
Create a new `AWS::ServiceCatalogAppRegistry::ResourceAssociation`.
|
protected |
CfnResourceAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnResourceAssociation(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplication()
The name or ID of the application.
|
String |
getAttrApplicationArn() |
String |
getAttrId()
The Id of the Association.
|
String |
getAttrResourceArn() |
protected Map<String,Object> |
getCfnProperties() |
String |
getResource()
The name or ID of the resource of which the application will be associated.
|
String |
getResourceType()
The type of resource of which the application will be associated.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setApplication(String value)
The name or ID of the application.
|
void |
setResource(String value)
The name or ID of the resource of which the application will be associated.
|
void |
setResourceType(String value)
The type of resource of which the application will be associated.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnResourceAssociation(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnResourceAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnResourceAssociation(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnResourceAssociationProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrApplicationArn()
@Stability(value=Stable) @NotNull public String getAttrId()
@Stability(value=Stable) @NotNull public String getAttrResourceArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getApplication()
@Stability(value=Stable)
public void setApplication(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getResource()
@Stability(value=Stable)
public void setResource(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getResourceType()
Possible values: CFN_STACK.
@Stability(value=Stable)
public void setResourceType(@NotNull
String value)
Possible values: CFN_STACK.
Copyright © 2022. All rights reserved.