1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. mediaconnect
  5. Gateway

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.mediaconnect.Gateway

Explore with Pulumi AI

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

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:

EgressCidrBlocks 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.AwsNative.MediaConnect.Inputs.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.
EgressCidrBlocks 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. []GatewayNetworkArgs
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.
egressCidrBlocks 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.
egressCidrBlocks 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[GatewayNetworkArgs]
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.
egressCidrBlocks 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:

GatewayArn string
The Amazon Resource Name (ARN) of the gateway.
GatewayState Pulumi.AwsNative.MediaConnect.GatewayState
The current status of the gateway.
Id string
The provider-assigned unique ID for this managed resource.
GatewayArn string
The Amazon Resource Name (ARN) of the gateway.
GatewayState GatewayStateEnum
The current status of the gateway.
Id string
The provider-assigned unique ID for this managed resource.
gatewayArn String
The Amazon Resource Name (ARN) of the gateway.
gatewayState GatewayState
The current status of the gateway.
id String
The provider-assigned unique ID for this managed resource.
gatewayArn string
The Amazon Resource Name (ARN) of the gateway.
gatewayState 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.
gatewayArn String
The Amazon Resource Name (ARN) of the gateway.
gatewayState "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

CidrBlock 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.
CidrBlock 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.
cidrBlock 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.
cidrBlock 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.
cidrBlock 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
GatewayStateCreating
CREATING
GatewayStateActive
ACTIVE
GatewayStateUpdating
UPDATING
GatewayStateError
ERROR
GatewayStateDeleting
DELETING
GatewayStateDeleted
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.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi