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
,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:
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnMeteredProduct
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnMeteredProduct
(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.The product ID.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setLicenseEndpointId
(String value) The Amazon EC2 identifier of the license endpoint.void
setProductId
(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, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
inspect
in 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:
renderProperties
in 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:
getCfnProperties
in classCfnResource
-
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.
-