Class CfnMeteredProduct
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.deadline.CfnMeteredProduct
- All Implemented Interfaces:
IInspectable,IMeteredProductRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:34.887Z")
@Stability(Stable)
public class CfnMeteredProduct
extends CfnResource
implements IInspectable, IMeteredProductRef
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:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.deadline.IMeteredProductRef
IMeteredProductRef.Jsii$Default, IMeteredProductRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnMeteredProduct(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnMeteredProduct(software.amazon.jsii.JsiiObjectRef objRef) CfnMeteredProduct(software.constructs.Construct scope, String id) CfnMeteredProduct(software.constructs.Construct scope, String id, CfnMeteredProductProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the metered product.The family to which the metered product belongs.The port on which the metered product should run.The vendor.The Amazon EC2 identifier of the license endpoint.A reference to a MeteredProduct resource.The product ID.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetLicenseEndpointId(String value) The Amazon EC2 identifier of the license endpoint.voidsetProductId(String value) The product ID.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the metered product. -
getAttrFamily
The family to which the metered product belongs. -
getAttrPort
The port on which the metered product should run. -
getAttrVendor
The vendor. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getMeteredProductRef
A reference to a MeteredProduct resource.- Specified by:
getMeteredProductRefin interfaceIMeteredProductRef
-
getLicenseEndpointId
The Amazon EC2 identifier of the license endpoint. -
setLicenseEndpointId
The Amazon EC2 identifier of the license endpoint. -
getProductId
The product ID. -
setProductId
The product ID.
-