1. Packages
  2. AWS Native
  3. API Docs
  4. mediapackagev2
  5. getOriginEndpointPolicy

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.mediapackagev2.getOriginEndpointPolicy

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

    Represents a resource policy that allows or denies access to an origin endpoint.

    Using getOriginEndpointPolicy

    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 getOriginEndpointPolicy(args: GetOriginEndpointPolicyArgs, opts?: InvokeOptions): Promise<GetOriginEndpointPolicyResult>
    function getOriginEndpointPolicyOutput(args: GetOriginEndpointPolicyOutputArgs, opts?: InvokeOptions): Output<GetOriginEndpointPolicyResult>
    def get_origin_endpoint_policy(channel_group_name: Optional[str] = None,
                                   channel_name: Optional[str] = None,
                                   origin_endpoint_name: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetOriginEndpointPolicyResult
    def get_origin_endpoint_policy_output(channel_group_name: Optional[pulumi.Input[str]] = None,
                                   channel_name: Optional[pulumi.Input[str]] = None,
                                   origin_endpoint_name: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetOriginEndpointPolicyResult]
    func LookupOriginEndpointPolicy(ctx *Context, args *LookupOriginEndpointPolicyArgs, opts ...InvokeOption) (*LookupOriginEndpointPolicyResult, error)
    func LookupOriginEndpointPolicyOutput(ctx *Context, args *LookupOriginEndpointPolicyOutputArgs, opts ...InvokeOption) LookupOriginEndpointPolicyResultOutput

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

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

    The following arguments are supported:

    ChannelGroupName string
    The name of the channel group associated with the origin endpoint policy.
    ChannelName string
    The channel name associated with the origin endpoint policy.
    OriginEndpointName string
    The name of the origin endpoint associated with the origin endpoint policy.
    ChannelGroupName string
    The name of the channel group associated with the origin endpoint policy.
    ChannelName string
    The channel name associated with the origin endpoint policy.
    OriginEndpointName string
    The name of the origin endpoint associated with the origin endpoint policy.
    channelGroupName String
    The name of the channel group associated with the origin endpoint policy.
    channelName String
    The channel name associated with the origin endpoint policy.
    originEndpointName String
    The name of the origin endpoint associated with the origin endpoint policy.
    channelGroupName string
    The name of the channel group associated with the origin endpoint policy.
    channelName string
    The channel name associated with the origin endpoint policy.
    originEndpointName string
    The name of the origin endpoint associated with the origin endpoint policy.
    channel_group_name str
    The name of the channel group associated with the origin endpoint policy.
    channel_name str
    The channel name associated with the origin endpoint policy.
    origin_endpoint_name str
    The name of the origin endpoint associated with the origin endpoint policy.
    channelGroupName String
    The name of the channel group associated with the origin endpoint policy.
    channelName String
    The channel name associated with the origin endpoint policy.
    originEndpointName String
    The name of the origin endpoint associated with the origin endpoint policy.

    getOriginEndpointPolicy Result

    The following output properties are available:

    Policy object

    The policy associated with the origin endpoint.

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

    Policy interface{}

    The policy associated with the origin endpoint.

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

    policy Object

    The policy associated with the origin endpoint.

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

    policy any

    The policy associated with the origin endpoint.

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

    policy Any

    The policy associated with the origin endpoint.

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

    policy Any

    The policy associated with the origin endpoint.

    Search the CloudFormation User Guide for AWS::MediaPackageV2::OriginEndpointPolicy 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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi