We recommend new projects start with resources from the AWS provider.
aws-native.mediapackagev2.getChannelPolicy
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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)
public static Output<GetChannelPolicyResult> getChannelPolicy(GetChannelPolicyArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:mediapackagev2:getChannelPolicy
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ChannelGroup stringName 
- The name of the channel group associated with the channel policy.
- ChannelName string
- The name of the channel associated with the channel policy.
- ChannelGroup stringName 
- The name of the channel group associated with the channel policy.
- ChannelName string
- The name of the channel associated with the channel policy.
- channelGroup StringName 
- The name of the channel group associated with the channel policy.
- channelName String
- The name of the channel associated with the channel policy.
- channelGroup stringName 
- 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_ strname 
- The name of the channel group associated with the channel policy.
- channel_name str
- The name of the channel associated with the channel policy.
- channelGroup StringName 
- 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::ChannelPolicyfor 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::ChannelPolicyfor 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::ChannelPolicyfor 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::ChannelPolicyfor 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::ChannelPolicyfor 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::ChannelPolicyfor more information about the expected schema for this property.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.