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

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

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.mediapackagev2.getOriginEndpointPolicy

Explore with Pulumi AI

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

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 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>
Copy
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]
Copy
func LookupOriginEndpointPolicy(ctx *Context, args *LookupOriginEndpointPolicyArgs, opts ...InvokeOption) (*LookupOriginEndpointPolicyResult, error)
func LookupOriginEndpointPolicyOutput(ctx *Context, args *LookupOriginEndpointPolicyOutputArgs, opts ...InvokeOption) LookupOriginEndpointPolicyResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetOriginEndpointPolicyResult> getOriginEndpointPolicy(GetOriginEndpointPolicyArgs args, InvokeOptions options)
public static Output<GetOriginEndpointPolicyResult> getOriginEndpointPolicy(GetOriginEndpointPolicyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:mediapackagev2:getOriginEndpointPolicy
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ChannelGroupName This property is required. string
The name of the channel group associated with the origin endpoint policy.
ChannelName This property is required. string
The channel name associated with the origin endpoint policy.
OriginEndpointName This property is required. string
The name of the origin endpoint associated with the origin endpoint policy.
ChannelGroupName This property is required. string
The name of the channel group associated with the origin endpoint policy.
ChannelName This property is required. string
The channel name associated with the origin endpoint policy.
OriginEndpointName This property is required. string
The name of the origin endpoint associated with the origin endpoint policy.
channelGroupName This property is required. String
The name of the channel group associated with the origin endpoint policy.
channelName This property is required. String
The channel name associated with the origin endpoint policy.
originEndpointName This property is required. String
The name of the origin endpoint associated with the origin endpoint policy.
channelGroupName This property is required. string
The name of the channel group associated with the origin endpoint policy.
channelName This property is required. string
The channel name associated with the origin endpoint policy.
originEndpointName This property is required. string
The name of the origin endpoint associated with the origin endpoint policy.
channel_group_name This property is required. str
The name of the channel group associated with the origin endpoint policy.
channel_name This property is required. str
The channel name associated with the origin endpoint policy.
origin_endpoint_name This property is required. str
The name of the origin endpoint associated with the origin endpoint policy.
channelGroupName This property is required. String
The name of the channel group associated with the origin endpoint policy.
channelName This property is required. String
The channel name associated with the origin endpoint policy.
originEndpointName This property is required. 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

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

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi