We recommend new projects start with resources from the AWS provider.
aws-native.mediaconnect.Gateway
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource schema for AWS::MediaConnect::Gateway
Create Gateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Gateway(name: string, args: GatewayArgs, opts?: CustomResourceOptions);
@overload
def Gateway(resource_name: str,
args: GatewayArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Gateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
egress_cidr_blocks: Optional[Sequence[str]] = None,
networks: Optional[Sequence[GatewayNetworkArgs]] = None,
name: Optional[str] = None)
func NewGateway(ctx *Context, name string, args GatewayArgs, opts ...ResourceOption) (*Gateway, error)
public Gateway(string name, GatewayArgs args, CustomResourceOptions? opts = null)
public Gateway(String name, GatewayArgs args)
public Gateway(String name, GatewayArgs args, CustomResourceOptions options)
type: aws-native:mediaconnect:Gateway
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. GatewayArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. GatewayArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. GatewayArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. GatewayArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. GatewayArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Gateway Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Gateway resource accepts the following input properties:
- Egress
Cidr Blocks This property is required. List<string> - The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
- Networks
This property is required. List<Pulumi.Aws Native. Media Connect. Inputs. Gateway Network> - The list of networks in the gateway.
- Name string
- The name of the gateway. This name can not be modified after the gateway is created.
- Egress
Cidr Blocks This property is required. []string - The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
- Networks
This property is required. []GatewayNetwork Args - The list of networks in the gateway.
- Name string
- The name of the gateway. This name can not be modified after the gateway is created.
- egress
Cidr Blocks This property is required. List<String> - The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
- networks
This property is required. List<GatewayNetwork> - The list of networks in the gateway.
- name String
- The name of the gateway. This name can not be modified after the gateway is created.
- egress
Cidr Blocks This property is required. string[] - The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
- networks
This property is required. GatewayNetwork[] - The list of networks in the gateway.
- name string
- The name of the gateway. This name can not be modified after the gateway is created.
- egress_
cidr_ blocks This property is required. Sequence[str] - The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
- networks
This property is required. Sequence[GatewayNetwork Args] - The list of networks in the gateway.
- name str
- The name of the gateway. This name can not be modified after the gateway is created.
- egress
Cidr Blocks This property is required. List<String> - The range of IP addresses that contribute content or initiate output requests for flows communicating with this gateway. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
- networks
This property is required. List<Property Map> - The list of networks in the gateway.
- name String
- The name of the gateway. This name can not be modified after the gateway is created.
Outputs
All input properties are implicitly available as output properties. Additionally, the Gateway resource produces the following output properties:
- Gateway
Arn string - The Amazon Resource Name (ARN) of the gateway.
- Gateway
State Pulumi.Aws Native. Media Connect. Gateway State - The current status of the gateway.
- Id string
- The provider-assigned unique ID for this managed resource.
- Gateway
Arn string - The Amazon Resource Name (ARN) of the gateway.
- Gateway
State GatewayState Enum - The current status of the gateway.
- Id string
- The provider-assigned unique ID for this managed resource.
- gateway
Arn String - The Amazon Resource Name (ARN) of the gateway.
- gateway
State GatewayState - The current status of the gateway.
- id String
- The provider-assigned unique ID for this managed resource.
- gateway
Arn string - The Amazon Resource Name (ARN) of the gateway.
- gateway
State GatewayState - The current status of the gateway.
- id string
- The provider-assigned unique ID for this managed resource.
- gateway_
arn str - The Amazon Resource Name (ARN) of the gateway.
- gateway_
state GatewayState - The current status of the gateway.
- id str
- The provider-assigned unique ID for this managed resource.
- gateway
Arn String - The Amazon Resource Name (ARN) of the gateway.
- gateway
State "CREATING" | "ACTIVE" | "UPDATING" | "ERROR" | "DELETING" | "DELETED" - The current status of the gateway.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GatewayNetwork, GatewayNetworkArgs
- Cidr
Block This property is required. string - A unique IP address range to use for this network. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
- Name
This property is required. string - The name of the network. This name is used to reference the network and must be unique among networks in this gateway.
- Cidr
Block This property is required. string - A unique IP address range to use for this network. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
- Name
This property is required. string - The name of the network. This name is used to reference the network and must be unique among networks in this gateway.
- cidr
Block This property is required. String - A unique IP address range to use for this network. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
- name
This property is required. String - The name of the network. This name is used to reference the network and must be unique among networks in this gateway.
- cidr
Block This property is required. string - A unique IP address range to use for this network. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
- name
This property is required. string - The name of the network. This name is used to reference the network and must be unique among networks in this gateway.
- cidr_
block This property is required. str - A unique IP address range to use for this network. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
- name
This property is required. str - The name of the network. This name is used to reference the network and must be unique among networks in this gateway.
- cidr
Block This property is required. String - A unique IP address range to use for this network. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
- name
This property is required. String - The name of the network. This name is used to reference the network and must be unique among networks in this gateway.
GatewayState, GatewayStateArgs
- Creating
- CREATING
- Active
- ACTIVE
- Updating
- UPDATING
- Error
- ERROR
- Deleting
- DELETING
- Deleted
- DELETED
- Gateway
State Creating - CREATING
- Gateway
State Active - ACTIVE
- Gateway
State Updating - UPDATING
- Gateway
State Error - ERROR
- Gateway
State Deleting - DELETING
- Gateway
State Deleted - DELETED
- Creating
- CREATING
- Active
- ACTIVE
- Updating
- UPDATING
- Error
- ERROR
- Deleting
- DELETING
- Deleted
- DELETED
- Creating
- CREATING
- Active
- ACTIVE
- Updating
- UPDATING
- Error
- ERROR
- Deleting
- DELETING
- Deleted
- DELETED
- CREATING
- CREATING
- ACTIVE
- ACTIVE
- UPDATING
- UPDATING
- ERROR
- ERROR
- DELETING
- DELETING
- DELETED
- DELETED
- "CREATING"
- CREATING
- "ACTIVE"
- ACTIVE
- "UPDATING"
- UPDATING
- "ERROR"
- ERROR
- "DELETING"
- DELETING
- "DELETED"
- DELETED
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.