We recommend new projects start with resources from the AWS provider.
aws-native.mediapackagev2.getOriginEndpointPolicy
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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)
public static Output<GetOriginEndpointPolicyResult> getOriginEndpointPolicy(GetOriginEndpointPolicyArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:mediapackagev2:getOriginEndpointPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Channel
Group stringName - The name of the channel group associated with the origin endpoint policy.
- Channel
Name string - The channel name associated with the origin endpoint policy.
- Origin
Endpoint stringName - The name of the origin endpoint associated with the origin endpoint policy.
- Channel
Group stringName - The name of the channel group associated with the origin endpoint policy.
- Channel
Name string - The channel name associated with the origin endpoint policy.
- Origin
Endpoint stringName - The name of the origin endpoint associated with the origin endpoint policy.
- channel
Group StringName - The name of the channel group associated with the origin endpoint policy.
- channel
Name String - The channel name associated with the origin endpoint policy.
- origin
Endpoint StringName - The name of the origin endpoint associated with the origin endpoint policy.
- channel
Group stringName - The name of the channel group associated with the origin endpoint policy.
- channel
Name string - The channel name associated with the origin endpoint policy.
- origin
Endpoint stringName - The name of the origin endpoint associated with the origin endpoint policy.
- channel_
group_ strname - 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_ strname - The name of the origin endpoint associated with the origin endpoint policy.
- channel
Group StringName - The name of the channel group associated with the origin endpoint policy.
- channel
Name String - The channel name associated with the origin endpoint policy.
- origin
Endpoint StringName - The name of the origin endpoint associated with the origin endpoint policy.
getOriginEndpointPolicy Result
The following output properties are available:
- Cdn
Auth Pulumi.Configuration Aws Native. Media Package V2. Outputs. Origin Endpoint Policy Cdn Auth Configuration - The settings to enable CDN authorization headers in MediaPackage.
- 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.
- Cdn
Auth OriginConfiguration Endpoint Policy Cdn Auth Configuration - The settings to enable CDN authorization headers in MediaPackage.
- 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.
- cdn
Auth OriginConfiguration Endpoint Policy Cdn Auth Configuration - The settings to enable CDN authorization headers in MediaPackage.
- 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.
- cdn
Auth OriginConfiguration Endpoint Policy Cdn Auth Configuration - The settings to enable CDN authorization headers in MediaPackage.
- 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.
- cdn_
auth_ Originconfiguration Endpoint Policy Cdn Auth Configuration - The settings to enable CDN authorization headers in MediaPackage.
- 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.
- cdn
Auth Property MapConfiguration - The settings to enable CDN authorization headers in MediaPackage.
- 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.
Supporting Types
OriginEndpointPolicyCdnAuthConfiguration
- Cdn
Identifier List<string>Secret Arns - The ARN for the secret in Secrets Manager that your CDN uses for authorization to access the endpoint.
- Secrets
Role stringArn - The ARN for the IAM role that gives MediaPackage read access to Secrets Manager and AWS KMS for CDN authorization.
- Cdn
Identifier []stringSecret Arns - The ARN for the secret in Secrets Manager that your CDN uses for authorization to access the endpoint.
- Secrets
Role stringArn - The ARN for the IAM role that gives MediaPackage read access to Secrets Manager and AWS KMS for CDN authorization.
- cdn
Identifier List<String>Secret Arns - The ARN for the secret in Secrets Manager that your CDN uses for authorization to access the endpoint.
- secrets
Role StringArn - The ARN for the IAM role that gives MediaPackage read access to Secrets Manager and AWS KMS for CDN authorization.
- cdn
Identifier string[]Secret Arns - The ARN for the secret in Secrets Manager that your CDN uses for authorization to access the endpoint.
- secrets
Role stringArn - The ARN for the IAM role that gives MediaPackage read access to Secrets Manager and AWS KMS for CDN authorization.
- cdn_
identifier_ Sequence[str]secret_ arns - The ARN for the secret in Secrets Manager that your CDN uses for authorization to access the endpoint.
- secrets_
role_ strarn - The ARN for the IAM role that gives MediaPackage read access to Secrets Manager and AWS KMS for CDN authorization.
- cdn
Identifier List<String>Secret Arns - The ARN for the secret in Secrets Manager that your CDN uses for authorization to access the endpoint.
- secrets
Role StringArn - The ARN for the IAM role that gives MediaPackage read access to Secrets Manager and AWS KMS for CDN authorization.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.