Class CfnMeteredProduct

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-12-11T23:26:31.473Z") @Stability(Stable) public class CfnMeteredProduct extends CfnResource implements IInspectable
Adds a metered product.

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.deadline.*;
 CfnMeteredProduct cfnMeteredProduct = CfnMeteredProduct.Builder.create(this, "MyCfnMeteredProduct")
         .licenseEndpointId("licenseEndpointId")
         .productId("productId")
         .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

    • CfnMeteredProduct

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

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

      @Stability(Stable) public CfnMeteredProduct(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnMeteredProductProps 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.
    • CfnMeteredProduct

      @Stability(Stable) public CfnMeteredProduct(@NotNull software.constructs.Construct scope, @NotNull String id)
      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.
  • 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) of the metered product.
    • getAttrFamily

      @Stability(Stable) @NotNull public String getAttrFamily()
      The family to which the metered product belongs.
    • getAttrPort

      @Stability(Stable) @NotNull public Number getAttrPort()
      The port on which the metered product should run.
    • getAttrVendor

      @Stability(Stable) @NotNull public String getAttrVendor()
      The vendor.
    • getCfnProperties

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

      @Stability(Stable) @Nullable public String getLicenseEndpointId()
      The Amazon EC2 identifier of the license endpoint.
    • setLicenseEndpointId

      @Stability(Stable) public void setLicenseEndpointId(@Nullable String value)
      The Amazon EC2 identifier of the license endpoint.
    • getProductId

      @Stability(Stable) @Nullable public String getProductId()
      The product ID.
    • setProductId

      @Stability(Stable) public void setProductId(@Nullable String value)
      The product ID.