Class CfnOffering

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
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:
  • 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

    • 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 new AWS::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 new AWS::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

      @Stability(Stable) @NotNull public static String arnForOffering(@NotNull IOfferingRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnOffering

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

      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.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      Unique offering ARN, e.g. 'arn:aws:medialive:us-west-2:123456789012:offering:87654321'.
    • getAttrCurrencyCode

      @Stability(Stable) @NotNull public String getAttrCurrencyCode()
      Currency code for usagePrice and fixedPrice in ISO-4217 format, e.g. 'USD'.
    • getAttrDuration

      @Stability(Stable) @NotNull public Number getAttrDuration()
      Lease duration, e.g. '12'.
    • getAttrDurationUnits

      @Stability(Stable) @NotNull public String getAttrDurationUnits()
      Units for duration, e.g. 'MONTHS'.
    • getAttrFixedPrice

      @Stability(Stable) @NotNull public IResolvable getAttrFixedPrice()
      One-time charge for each reserved resource, e.g. '0.0' for a NO_UPFRONT offering.
    • getAttrOfferingDescription

      @Stability(Stable) @NotNull public String getAttrOfferingDescription()
      Offering description, e.g. 'HD AVC output at 10-20 Mbps, 30 fps, and standard VQ in US West (Oregon)'.
    • getAttrOfferingId

      @Stability(Stable) @NotNull public String getAttrOfferingId()
      Unique offering ID, e.g. '87654321'.
    • getAttrOfferingType

      @Stability(Stable) @NotNull public String getAttrOfferingType()
      Offering type, e.g. 'NO_UPFRONT'.
    • getAttrRegion

      @Stability(Stable) @NotNull public String getAttrRegion()
      AWS region, e.g. 'us-west-2'.
    • getAttrResourceSpecification

      @Stability(Stable) @NotNull public IResolvable getAttrResourceSpecification()
      Resource configuration (codec, resolution, bitrate, ...).
    • getAttrUsagePrice

      @Stability(Stable) @NotNull public IResolvable getAttrUsagePrice()
      Recurring usage charge for each reserved resource, e.g. '157.0'.
    • 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
    • getOfferingRef

      @Stability(Stable) @NotNull public OfferingReference getOfferingRef()
      A reference to a Offering resource.
      Specified by:
      getOfferingRef in interface IOfferingRef