1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. mediapackagev2
  5. getChannelPolicy

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.mediapackagev2.getChannelPolicy

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    Represents a resource-based policy that allows or denies access to a channel.

    Using getChannelPolicy

    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 getChannelPolicy(args: GetChannelPolicyArgs, opts?: InvokeOptions): Promise<GetChannelPolicyResult>
    function getChannelPolicyOutput(args: GetChannelPolicyOutputArgs, opts?: InvokeOptions): Output<GetChannelPolicyResult>
    def get_channel_policy(channel_group_name: Optional[str] = None,
                           channel_name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetChannelPolicyResult
    def get_channel_policy_output(channel_group_name: Optional[pulumi.Input[str]] = None,
                           channel_name: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetChannelPolicyResult]
    func LookupChannelPolicy(ctx *Context, args *LookupChannelPolicyArgs, opts ...InvokeOption) (*LookupChannelPolicyResult, error)
    func LookupChannelPolicyOutput(ctx *Context, args *LookupChannelPolicyOutputArgs, opts ...InvokeOption) LookupChannelPolicyResultOutput

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

    public static class GetChannelPolicy 
    {
        public static Task<GetChannelPolicyResult> InvokeAsync(GetChannelPolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetChannelPolicyResult> Invoke(GetChannelPolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetChannelPolicyResult> getChannelPolicy(GetChannelPolicyArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:mediapackagev2:getChannelPolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ChannelGroupName string
    The name of the channel group associated with the channel policy.
    ChannelName string
    The name of the channel associated with the channel policy.
    ChannelGroupName string
    The name of the channel group associated with the channel policy.
    ChannelName string
    The name of the channel associated with the channel policy.
    channelGroupName String
    The name of the channel group associated with the channel policy.
    channelName String
    The name of the channel associated with the channel policy.
    channelGroupName string
    The name of the channel group associated with the channel policy.
    channelName string
    The name of the channel associated with the channel policy.
    channel_group_name str
    The name of the channel group associated with the channel policy.
    channel_name str
    The name of the channel associated with the channel policy.
    channelGroupName String
    The name of the channel group associated with the channel policy.
    channelName String
    The name of the channel associated with the channel policy.

    getChannelPolicy Result

    The following output properties are available:

    Policy object

    The policy associated with the channel.

    Search the CloudFormation User Guide for AWS::MediaPackageV2::ChannelPolicy for more information about the expected schema for this property.

    Policy interface{}

    The policy associated with the channel.

    Search the CloudFormation User Guide for AWS::MediaPackageV2::ChannelPolicy for more information about the expected schema for this property.

    policy Object

    The policy associated with the channel.

    Search the CloudFormation User Guide for AWS::MediaPackageV2::ChannelPolicy for more information about the expected schema for this property.

    policy any

    The policy associated with the channel.

    Search the CloudFormation User Guide for AWS::MediaPackageV2::ChannelPolicy for more information about the expected schema for this property.

    policy Any

    The policy associated with the channel.

    Search the CloudFormation User Guide for AWS::MediaPackageV2::ChannelPolicy for more information about the expected schema for this property.

    policy Any

    The policy associated with the channel.

    Search the CloudFormation User Guide for AWS::MediaPackageV2::ChannelPolicy for more information about the expected schema for this property.

    Package Details

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

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

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi