Class CfnLicenseAssetGroup

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.licensemanager.CfnLicenseAssetGroup
All Implemented Interfaces:
IInspectable, IEnvironmentAware, ILicenseAssetGroupRef, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)", date="2026-09-30T11:04:55.237Z") @Stability(Stable) public class CfnLicenseAssetGroup extends CfnResource implements IInspectable, ILicenseAssetGroupRef, ITaggableV2
Resource Type definition for AWS::LicenseManager::LicenseAssetGroup.

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.licensemanager.*;
 CfnLicenseAssetGroup cfnLicenseAssetGroup = CfnLicenseAssetGroup.Builder.create(this, "MyCfnLicenseAssetGroup")
         .associatedLicenseAssetRulesetArns(List.of("associatedLicenseAssetRulesetArns"))
         .licenseAssetGroupConfigurations(List.of(LicenseAssetGroupConfigurationProperty.builder()
                 .usageDimension("usageDimension")
                 .build()))
         .name("name")
         // the properties below are optional
         .description("description")
         .properties(List.of(LicenseAssetGroupPropertyProperty.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .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

    • CfnLicenseAssetGroup

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

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

      @Stability(Stable) public CfnLicenseAssetGroup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnLicenseAssetGroupProps props)
      Create a new AWS::LicenseManager::LicenseAssetGroup.

      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

    • arnForLicenseAssetGroup

      @Stability(Stable) @NotNull public static String arnForLicenseAssetGroup(@NotNull ILicenseAssetGroupRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnLicenseAssetGroup

      @Stability(Stable) @NotNull public static Boolean isCfnLicenseAssetGroup(@NotNull Object x)
      Checks whether the given object is a CfnLicenseAssetGroup.

      Parameters:
      x - This parameter is required.
    • 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.
    • getAttrLicenseAssetGroupArn

      @Stability(Stable) @NotNull public String getAttrLicenseAssetGroupArn()
      Amazon Resource Name (ARN) of the license asset group.
    • getCdkTagManager

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

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

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getLicenseAssetGroupRef

      @Stability(Stable) @NotNull public LicenseAssetGroupReference getLicenseAssetGroupRef()
      A reference to a LicenseAssetGroup resource.
      Specified by:
      getLicenseAssetGroupRef in interface ILicenseAssetGroupRef
    • getAssociatedLicenseAssetRulesetArns

      @Stability(Stable) @NotNull public List<String> getAssociatedLicenseAssetRulesetArns()
      ARNs of associated license asset rulesets.
    • setAssociatedLicenseAssetRulesetArns

      @Stability(Stable) public void setAssociatedLicenseAssetRulesetArns(@NotNull List<String> value)
      ARNs of associated license asset rulesets.
    • getLicenseAssetGroupConfigurations

      @Stability(Stable) @NotNull public Object getLicenseAssetGroupConfigurations()
      License asset group configurations.

      Returns union: either IResolvable or Listinvalid input: '<'either IResolvable or CfnLicenseAssetGroup.LicenseAssetGroupConfigurationProperty>

    • setLicenseAssetGroupConfigurations

      @Stability(Stable) public void setLicenseAssetGroupConfigurations(@NotNull IResolvable value)
      License asset group configurations.
    • setLicenseAssetGroupConfigurations

      @Stability(Stable) public void setLicenseAssetGroupConfigurations(@NotNull List<Object> value)
      License asset group configurations.
    • getName

      @Stability(Stable) @NotNull public String getName()
      License asset group name.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      License asset group name.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      License asset group description.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      License asset group description.
    • getProperties

      @Stability(Stable) @Nullable public Object getProperties()
      License asset group properties.

      Returns union: either IResolvable or Listinvalid input: '<'either IResolvable or CfnLicenseAssetGroup.LicenseAssetGroupPropertyProperty>

    • setProperties

      @Stability(Stable) public void setProperties(@Nullable IResolvable value)
      License asset group properties.
    • setProperties

      @Stability(Stable) public void setProperties(@Nullable List<Object> value)
      License asset group properties.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      Tags to add to the license asset group.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      Tags to add to the license asset group.