Class CfnOffering
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.medialive.CfnOffering
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IOfferingRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-08-10T14:51:07.032Z")
@Stability(Stable)
public class CfnOffering
extends CfnResource
implements IInspectable, IOfferingRef
Definition of AWS::MediaLive::Offering Resource Type.
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.medialive.*; CfnOffering cfnOffering = CfnOffering.Builder.create(this, "MyCfnOffering").build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnOffering.static interfaceResource configuration (codec, resolution, bitrate, ...).Nested 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.interfaces.medialive.IOfferingRef
IOfferingRef.Jsii$Default, IOfferingRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnOffering(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnOffering(software.amazon.jsii.JsiiObjectRef objRef) CfnOffering(software.constructs.Construct scope, String id) Create a newAWS::MediaLive::Offering.CfnOffering(software.constructs.Construct scope, String id, CfnOfferingProps props) Create a newAWS::MediaLive::Offering. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForOffering(IOfferingRef resource) Unique offering ARN, e.g.Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g.Lease duration, e.g.Units for duration, e.g.One-time charge for each reserved resource, e.g.Offering description, e.g.Unique offering ID, e.g.Offering type, e.g.AWS region, e.g.Resource configuration (codec, resolution, bitrate, ...).Recurring usage charge for each reserved resource, e.g.A reference to a Offering resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnOffering.renderProperties(Map<String, Object> props) Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods 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
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods 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
-
CfnOffering
protected CfnOffering(software.amazon.jsii.JsiiObjectRef objRef) -
CfnOffering
protected CfnOffering(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnOffering
@Stability(Stable) public CfnOffering(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnOfferingProps props) Create a newAWS::MediaLive::Offering.- 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.
-
CfnOffering
@Stability(Stable) public CfnOffering(@NotNull software.constructs.Construct scope, @NotNull String id) Create a newAWS::MediaLive::Offering.- 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
-
arnForOffering
- Parameters:
resource- This parameter is required.
-
isCfnOffering
Checks whether the given object is a CfnOffering.- Parameters:
x- This parameter is required.
-
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
Unique offering ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:offering:87654321'. -
getAttrCurrencyCode
Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'. -
getAttrDuration
Lease duration, e.g. '12'. -
getAttrDurationUnits
Units for duration, e.g. 'MONTHS'. -
getAttrFixedPrice
One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering. -
getAttrOfferingDescription
Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'. -
getAttrOfferingId
Unique offering ID, e.g. '87654321'. -
getAttrOfferingType
Offering type, e.g. 'NO_UPFRONT'. -
getAttrRegion
AWS region, e.g. 'us-west-2'. -
getAttrResourceSpecification
Resource configuration (codec, resolution, bitrate, ...). -
getAttrUsagePrice
Recurring usage charge for each reserved resource, e.g. '157.0'. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getOfferingRef
A reference to a Offering resource.- Specified by:
getOfferingRefin interfaceIOfferingRef
-