We recommend new projects start with resources from the AWS provider.
aws-native.mediapackagev2.OriginEndpointPolicy
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.
Create OriginEndpointPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OriginEndpointPolicy(name: string, args: OriginEndpointPolicyArgs, opts?: CustomResourceOptions);
@overload
def OriginEndpointPolicy(resource_name: str,
args: OriginEndpointPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OriginEndpointPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
channel_group_name: Optional[str] = None,
channel_name: Optional[str] = None,
origin_endpoint_name: Optional[str] = None,
policy: Optional[Any] = None)
func NewOriginEndpointPolicy(ctx *Context, name string, args OriginEndpointPolicyArgs, opts ...ResourceOption) (*OriginEndpointPolicy, error)
public OriginEndpointPolicy(string name, OriginEndpointPolicyArgs args, CustomResourceOptions? opts = null)
public OriginEndpointPolicy(String name, OriginEndpointPolicyArgs args)
public OriginEndpointPolicy(String name, OriginEndpointPolicyArgs args, CustomResourceOptions options)
type: aws-native:mediapackagev2:OriginEndpointPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args OriginEndpointPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args OriginEndpointPolicyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OriginEndpointPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OriginEndpointPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OriginEndpointPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
OriginEndpointPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The OriginEndpointPolicy resource accepts the following input properties:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the OriginEndpointPolicy resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.