@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)", date="2022-06-22T23:27:52.908Z") public class CfnAttributeGroup extends CfnResource implements IInspectable
Creates a new attribute group as a container for user-defined attributes. This feature enables users to have full control over their cloud application's metadata in a rich machine-readable format to facilitate integration with automated workflows and third-party tools.
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.*; Object attributes; CfnAttributeGroup cfnAttributeGroup = CfnAttributeGroup.Builder.create(this, "MyCfnAttributeGroup") .attributes(attributes) .name("name") // the properties below are optional .description("description") .tags(Map.of( "tagsKey", "tags")) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnAttributeGroup.Builder
A fluent builder for
CfnAttributeGroup . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnAttributeGroup(Construct scope,
java.lang.String id,
CfnAttributeGroupProps props)
Create a new `AWS::ServiceCatalogAppRegistry::AttributeGroup`.
|
protected |
CfnAttributeGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnAttributeGroup(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrArn()
The Arn for the attribute group.
|
java.lang.Object |
getAttributes()
A JSON string in the form of nested key-value pairs that represent the attributes in the group and describes an application and its components.
|
java.lang.String |
getAttrId()
The attribute group Id in the respective resource.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getDescription()
The description of the attribute group that the user provides.
|
java.lang.String |
getName()
The name of the attribute group.
|
TagManager |
getTags()
Key-value pairs you can use to associate with the attribute group.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setAttributes(java.lang.Object value)
A JSON string in the form of nested key-value pairs that represent the attributes in the group and describes an application and its components.
|
void |
setDescription(java.lang.String value)
The description of the attribute group that the user provides.
|
void |
setName(java.lang.String value)
The name of the attribute group.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnAttributeGroup(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnAttributeGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnAttributeGroup(Construct scope, java.lang.String id, CfnAttributeGroupProps 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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrArn()
public java.lang.String getAttrId()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.lang.Object getAttributes()
public void setAttributes(java.lang.Object value)
public java.lang.String getName()
public void setName(java.lang.String value)
public java.lang.String getDescription()
public void setDescription(java.lang.String value)