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

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.

    Using getAdConfiguration

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAdConfiguration(args: GetAdConfigurationArgs, opts?: InvokeOptions): Promise<GetAdConfigurationResult>
    function getAdConfigurationOutput(args: GetAdConfigurationOutputArgs, opts?: InvokeOutputOptions): Output<GetAdConfigurationResult>
    def get_ad_configuration(arn: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetAdConfigurationResult
    def get_ad_configuration_output(arn: pulumi.Input[Optional[str]] = None,
                             opts: Optional[InvokeOutputOptions] = None) -> Output[GetAdConfigurationResult]
    func LookupAdConfiguration(ctx *Context, args *LookupAdConfigurationArgs, opts ...InvokeOption) (*LookupAdConfigurationResult, error)
    func LookupAdConfigurationOutput(ctx *Context, args *LookupAdConfigurationOutputArgs, opts ...InvokeOption) LookupAdConfigurationResultOutput

    > Note: This function is named LookupAdConfiguration in the Go SDK.

    public static class GetAdConfiguration 
    {
        public static Task<GetAdConfigurationResult> InvokeAsync(GetAdConfigurationArgs args, InvokeOptions? opts = null)
        public static Output<GetAdConfigurationResult> Invoke(GetAdConfigurationInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetAdConfigurationResult> Invoke(GetAdConfigurationInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetAdConfigurationResult> getAdConfiguration(GetAdConfigurationArgs args, InvokeOptions options)
    public static Output<GetAdConfigurationResult> getAdConfiguration(GetAdConfigurationArgs args, InvokeOptions options)
    public static Output<GetAdConfigurationResult> getAdConfiguration(GetAdConfigurationArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:ivs:getAdConfiguration
      arguments:
        # arguments dictionary
    data "aws-native_ivs_get_ad_configuration" "name" {
        # arguments
    }

    The following arguments are supported:

    Arn string
    Ad configuration ARN.
    Arn string
    Ad configuration ARN.
    arn string
    Ad configuration ARN.
    arn String
    Ad configuration ARN.
    arn string
    Ad configuration ARN.
    arn str
    Ad configuration ARN.
    arn String
    Ad configuration ARN.

    getAdConfiguration Result

    The following output properties are available:

    Arn string
    Ad configuration ARN.
    MediaTailorPlaybackConfigurations List<Pulumi.AwsNative.Ivs.Outputs.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.Outputs.AdConfigurationPostRollConfiguration
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    Tags attached to the resource.
    Arn string
    Ad configuration ARN.
    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.
    arn string
    Ad configuration ARN.
    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.
    arn String
    Ad configuration ARN.
    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.
    arn string
    Ad configuration ARN.
    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.
    arn str
    Ad configuration ARN.
    media_tailor_playback_configurations Sequence[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 str
    Ad configuration name. The value does not need to be unique.
    post_roll_configuration AdConfigurationPostRollConfiguration
    tags Sequence[root_Tag]
    Tags attached to the resource.
    arn String
    Ad configuration ARN.
    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.

    Supporting Types

    AdConfigurationMediaTailorPlaybackConfiguration

    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

    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

    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