1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. ivs
  6. AdConfiguration

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    Resource type definition for AWS::IVS::AdConfiguration. An ad configuration links Amazon IVS resources to AWS Elemental MediaTailor playback configurations, enabling server-side ad insertion for a channel.

    Create AdConfiguration Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AdConfiguration(name: string, args: AdConfigurationArgs, opts?: CustomResourceOptions);
    @overload
    def AdConfiguration(resource_name: str,
                        args: AdConfigurationArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def AdConfiguration(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        media_tailor_playback_configurations: Optional[Sequence[AdConfigurationMediaTailorPlaybackConfigurationArgs]] = None,
                        name: Optional[str] = None,
                        post_roll_configuration: Optional[AdConfigurationPostRollConfigurationArgs] = None,
                        tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewAdConfiguration(ctx *Context, name string, args AdConfigurationArgs, opts ...ResourceOption) (*AdConfiguration, error)
    public AdConfiguration(string name, AdConfigurationArgs args, CustomResourceOptions? opts = null)
    public AdConfiguration(String name, AdConfigurationArgs args)
    public AdConfiguration(String name, AdConfigurationArgs args, CustomResourceOptions options)
    
    type: aws-native:ivs:AdConfiguration
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_ivs_ad_configuration" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AdConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AdConfigurationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AdConfigurationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AdConfigurationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AdConfigurationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    AdConfiguration Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AdConfiguration resource accepts the following input properties:

    MediaTailorPlaybackConfigurations List<Pulumi.AwsNative.Ivs.Inputs.AdConfigurationMediaTailorPlaybackConfiguration>
    List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration.
    Name string
    Ad configuration name. The value does not need to be unique.
    PostRollConfiguration Pulumi.AwsNative.Ivs.Inputs.AdConfigurationPostRollConfiguration
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    Tags attached to the resource.
    MediaTailorPlaybackConfigurations []AdConfigurationMediaTailorPlaybackConfigurationArgs
    List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration.
    Name string
    Ad configuration name. The value does not need to be unique.
    PostRollConfiguration AdConfigurationPostRollConfigurationArgs
    Tags TagArgs
    Tags attached to the resource.
    media_tailor_playback_configurations list(object)
    List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration.
    name string
    Ad configuration name. The value does not need to be unique.
    post_roll_configuration object
    tags list(object)
    Tags attached to the resource.
    mediaTailorPlaybackConfigurations List<AdConfigurationMediaTailorPlaybackConfiguration>
    List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration.
    name String
    Ad configuration name. The value does not need to be unique.
    postRollConfiguration AdConfigurationPostRollConfiguration
    tags List<Tag>
    Tags attached to the resource.
    mediaTailorPlaybackConfigurations AdConfigurationMediaTailorPlaybackConfiguration[]
    List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration.
    name string
    Ad configuration name. The value does not need to be unique.
    postRollConfiguration AdConfigurationPostRollConfiguration
    tags Tag[]
    Tags attached to the resource.
    media_tailor_playback_configurations Sequence[AdConfigurationMediaTailorPlaybackConfigurationArgs]
    List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration.
    name str
    Ad configuration name. The value does not need to be unique.
    post_roll_configuration AdConfigurationPostRollConfigurationArgs
    tags Sequence[TagArgs]
    Tags attached to the resource.
    mediaTailorPlaybackConfigurations List<Property Map>
    List of integration configurations with MediaTailor resources. The first item in the list is the default playback configuration used for the ad configuration.
    name String
    Ad configuration name. The value does not need to be unique.
    postRollConfiguration Property Map
    tags List<Property Map>
    Tags attached to the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AdConfiguration resource produces the following output properties:

    Arn string
    Ad configuration ARN.
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    Ad configuration ARN.
    Id string
    The provider-assigned unique ID for this managed resource.
    arn string
    Ad configuration ARN.
    id string
    The provider-assigned unique ID for this managed resource.
    arn String
    Ad configuration ARN.
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    Ad configuration ARN.
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    Ad configuration ARN.
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    Ad configuration ARN.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AdConfiguration Resource

    Get an existing AdConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): AdConfiguration
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> AdConfiguration
    func GetAdConfiguration(ctx *Context, name string, id IDInput, state *AdConfigurationState, opts ...ResourceOption) (*AdConfiguration, error)
    public static AdConfiguration Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static AdConfiguration get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingAdConfiguration:    type: aws-native:ivs:AdConfiguration    get:      id: ${id}
    import {
      to = aws-native_ivs_ad_configuration.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state AdConfigurationState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    AdConfigurationMediaTailorPlaybackConfiguration, AdConfigurationMediaTailorPlaybackConfigurationArgs

    Object specifying a configuration for integration with an AWS Elemental MediaTailor (EMT).

    PlaybackConfigurationArn string
    ARN of the customer-created EMT PlaybackConfiguration resource in the same region and account.
    PlaybackConfigurationArn string
    ARN of the customer-created EMT PlaybackConfiguration resource in the same region and account.
    playback_configuration_arn string
    ARN of the customer-created EMT PlaybackConfiguration resource in the same region and account.
    playbackConfigurationArn String
    ARN of the customer-created EMT PlaybackConfiguration resource in the same region and account.
    playbackConfigurationArn string
    ARN of the customer-created EMT PlaybackConfiguration resource in the same region and account.
    playback_configuration_arn str
    ARN of the customer-created EMT PlaybackConfiguration resource in the same region and account.
    playbackConfigurationArn String
    ARN of the customer-created EMT PlaybackConfiguration resource in the same region and account.

    AdConfigurationPostRollConfiguration, AdConfigurationPostRollConfigurationArgs

    Configuration for the post-roll ad break to use for this ad configuration.

    DurationSeconds int
    Duration of the post-roll ad break, in seconds.
    Enabled bool
    Whether the post-roll ad configuration is enabled.
    DurationSeconds int
    Duration of the post-roll ad break, in seconds.
    Enabled bool
    Whether the post-roll ad configuration is enabled.
    duration_seconds number
    Duration of the post-roll ad break, in seconds.
    enabled bool
    Whether the post-roll ad configuration is enabled.
    durationSeconds Integer
    Duration of the post-roll ad break, in seconds.
    enabled Boolean
    Whether the post-roll ad configuration is enabled.
    durationSeconds number
    Duration of the post-roll ad break, in seconds.
    enabled boolean
    Whether the post-roll ad configuration is enabled.
    duration_seconds int
    Duration of the post-roll ad break, in seconds.
    enabled bool
    Whether the post-roll ad configuration is enabled.
    durationSeconds Number
    Duration of the post-roll ad break, in seconds.
    enabled Boolean
    Whether the post-roll ad configuration is enabled.

    Tag, TagArgs

    A set of tags to apply to the resource.

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial