java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.servicecatalogappregistry.CfnAttributeGroup
All Implemented Interfaces:
IInspectable, ITaggable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-24T21:00:37.524Z") @Stability(Stable) public class CfnAttributeGroup extends CfnResource implements IInspectable, ITaggable
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();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnAttributeGroup

      protected CfnAttributeGroup(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnAttributeGroup

      protected CfnAttributeGroup(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnAttributeGroup

      @Stability(Stable) public CfnAttributeGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnAttributeGroupProps props)
      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The Amazon resource name (ARN) that specifies the attribute group across services.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
      The globally unique attribute group identifier of the attribute group.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getTags

      @Stability(Stable) @NotNull public TagManager getTags()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getTags in interface ITaggable
    • getAttributes

      @Stability(Stable) @NotNull public Object getAttributes()
      A nested object in a JSON or YAML template that supports arbitrary definitions.
    • setAttributes

      @Stability(Stable) public void setAttributes(@NotNull Object value)
      A nested object in a JSON or YAML template that supports arbitrary definitions.
    • getName

      @Stability(Stable) @NotNull public String getName()
      The name of the attribute group.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the attribute group.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      The description of the attribute group that the user provides.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      The description of the attribute group that the user provides.
    • getTagsRaw

      @Stability(Stable) @Nullable public Map<String,String> getTagsRaw()
      Key-value pairs you can use to associate with the attribute group.
    • setTagsRaw

      @Stability(Stable) public void setTagsRaw(@Nullable Map<String,String> value)
      Key-value pairs you can use to associate with the attribute group.