We recommend new projects start with resources from the AWS provider.
We recommend new projects start with resources from the AWS provider.
AWS::EC2::TransitGatewayMeteringPolicyEntry Resource Definition
Create TransitGatewayMeteringPolicyEntry Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TransitGatewayMeteringPolicyEntry(name: string, args: TransitGatewayMeteringPolicyEntryArgs, opts?: CustomResourceOptions);@overload
def TransitGatewayMeteringPolicyEntry(resource_name: str,
args: TransitGatewayMeteringPolicyEntryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TransitGatewayMeteringPolicyEntry(resource_name: str,
opts: Optional[ResourceOptions] = None,
metered_account: Optional[TransitGatewayMeteringPolicyEntryTransitGatewayMeteringPayerType] = None,
policy_rule_number: Optional[int] = None,
transit_gateway_metering_policy_id: Optional[str] = None,
destination_cidr_block: Optional[str] = None,
destination_port_range: Optional[str] = None,
destination_transit_gateway_attachment_id: Optional[str] = None,
destination_transit_gateway_attachment_type: Optional[TransitGatewayMeteringPolicyEntryTransitGatewayAttachmentResourceType] = None,
protocol: Optional[str] = None,
source_cidr_block: Optional[str] = None,
source_port_range: Optional[str] = None,
source_transit_gateway_attachment_id: Optional[str] = None,
source_transit_gateway_attachment_type: Optional[TransitGatewayMeteringPolicyEntryTransitGatewayAttachmentResourceType] = None)func NewTransitGatewayMeteringPolicyEntry(ctx *Context, name string, args TransitGatewayMeteringPolicyEntryArgs, opts ...ResourceOption) (*TransitGatewayMeteringPolicyEntry, error)public TransitGatewayMeteringPolicyEntry(string name, TransitGatewayMeteringPolicyEntryArgs args, CustomResourceOptions? opts = null)
public TransitGatewayMeteringPolicyEntry(String name, TransitGatewayMeteringPolicyEntryArgs args)
public TransitGatewayMeteringPolicyEntry(String name, TransitGatewayMeteringPolicyEntryArgs args, CustomResourceOptions options)
type: aws-native:ec2:TransitGatewayMeteringPolicyEntry
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 TransitGatewayMeteringPolicyEntryArgs
- 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 TransitGatewayMeteringPolicyEntryArgs
- 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 TransitGatewayMeteringPolicyEntryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TransitGatewayMeteringPolicyEntryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TransitGatewayMeteringPolicyEntryArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TransitGatewayMeteringPolicyEntry 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 TransitGatewayMeteringPolicyEntry resource accepts the following input properties:
- Metered
Account Pulumi.Aws Native. Ec2. Transit Gateway Metering Policy Entry Transit Gateway Metering Payer Type - The resource owner information responsible for paying default billable charges for the traffic flow
- Policy
Rule intNumber - The rule number of the metering policy entry
- Transit
Gateway stringMetering Policy Id - The ID of the transit gateway metering policy for which the entry is being created
- Destination
Cidr stringBlock - The list of IP addresses of the instances receiving traffic from the transit gateway
- Destination
Port stringRange - The list of ports on destination instances receiving traffic from the transit gateway
- Destination
Transit stringGateway Attachment Id - The ID of the source attachment through which traffic leaves a transit gateway
- Destination
Transit Pulumi.Gateway Attachment Type Aws Native. Ec2. Transit Gateway Metering Policy Entry Transit Gateway Attachment Resource Type - The type of the attachment through which traffic leaves a transit gateway
- Protocol string
- The protocol of the traffic
- Source
Cidr stringBlock - The list of IP addresses of the instances sending traffic to the transit gateway for which the metering policy entry is applicable
- Source
Port stringRange - The list of ports on source instances sending traffic to the transit gateway
- Source
Transit stringGateway Attachment Id - The ID of the source attachment through which traffic enters a transit gateway
- Source
Transit Pulumi.Gateway Attachment Type Aws Native. Ec2. Transit Gateway Metering Policy Entry Transit Gateway Attachment Resource Type - The type of the attachment through which traffic enters a transit gateway
- Metered
Account TransitGateway Metering Policy Entry Transit Gateway Metering Payer Type - The resource owner information responsible for paying default billable charges for the traffic flow
- Policy
Rule intNumber - The rule number of the metering policy entry
- Transit
Gateway stringMetering Policy Id - The ID of the transit gateway metering policy for which the entry is being created
- Destination
Cidr stringBlock - The list of IP addresses of the instances receiving traffic from the transit gateway
- Destination
Port stringRange - The list of ports on destination instances receiving traffic from the transit gateway
- Destination
Transit stringGateway Attachment Id - The ID of the source attachment through which traffic leaves a transit gateway
- Destination
Transit TransitGateway Attachment Type Gateway Metering Policy Entry Transit Gateway Attachment Resource Type - The type of the attachment through which traffic leaves a transit gateway
- Protocol string
- The protocol of the traffic
- Source
Cidr stringBlock - The list of IP addresses of the instances sending traffic to the transit gateway for which the metering policy entry is applicable
- Source
Port stringRange - The list of ports on source instances sending traffic to the transit gateway
- Source
Transit stringGateway Attachment Id - The ID of the source attachment through which traffic enters a transit gateway
- Source
Transit TransitGateway Attachment Type Gateway Metering Policy Entry Transit Gateway Attachment Resource Type - The type of the attachment through which traffic enters a transit gateway
- metered
Account TransitGateway Metering Policy Entry Transit Gateway Metering Payer Type - The resource owner information responsible for paying default billable charges for the traffic flow
- policy
Rule IntegerNumber - The rule number of the metering policy entry
- transit
Gateway StringMetering Policy Id - The ID of the transit gateway metering policy for which the entry is being created
- destination
Cidr StringBlock - The list of IP addresses of the instances receiving traffic from the transit gateway
- destination
Port StringRange - The list of ports on destination instances receiving traffic from the transit gateway
- destination
Transit StringGateway Attachment Id - The ID of the source attachment through which traffic leaves a transit gateway
- destination
Transit TransitGateway Attachment Type Gateway Metering Policy Entry Transit Gateway Attachment Resource Type - The type of the attachment through which traffic leaves a transit gateway
- protocol String
- The protocol of the traffic
- source
Cidr StringBlock - The list of IP addresses of the instances sending traffic to the transit gateway for which the metering policy entry is applicable
- source
Port StringRange - The list of ports on source instances sending traffic to the transit gateway
- source
Transit StringGateway Attachment Id - The ID of the source attachment through which traffic enters a transit gateway
- source
Transit TransitGateway Attachment Type Gateway Metering Policy Entry Transit Gateway Attachment Resource Type - The type of the attachment through which traffic enters a transit gateway
- metered
Account TransitGateway Metering Policy Entry Transit Gateway Metering Payer Type - The resource owner information responsible for paying default billable charges for the traffic flow
- policy
Rule numberNumber - The rule number of the metering policy entry
- transit
Gateway stringMetering Policy Id - The ID of the transit gateway metering policy for which the entry is being created
- destination
Cidr stringBlock - The list of IP addresses of the instances receiving traffic from the transit gateway
- destination
Port stringRange - The list of ports on destination instances receiving traffic from the transit gateway
- destination
Transit stringGateway Attachment Id - The ID of the source attachment through which traffic leaves a transit gateway
- destination
Transit TransitGateway Attachment Type Gateway Metering Policy Entry Transit Gateway Attachment Resource Type - The type of the attachment through which traffic leaves a transit gateway
- protocol string
- The protocol of the traffic
- source
Cidr stringBlock - The list of IP addresses of the instances sending traffic to the transit gateway for which the metering policy entry is applicable
- source
Port stringRange - The list of ports on source instances sending traffic to the transit gateway
- source
Transit stringGateway Attachment Id - The ID of the source attachment through which traffic enters a transit gateway
- source
Transit TransitGateway Attachment Type Gateway Metering Policy Entry Transit Gateway Attachment Resource Type - The type of the attachment through which traffic enters a transit gateway
- metered_
account TransitGateway Metering Policy Entry Transit Gateway Metering Payer Type - The resource owner information responsible for paying default billable charges for the traffic flow
- policy_
rule_ intnumber - The rule number of the metering policy entry
- transit_
gateway_ strmetering_ policy_ id - The ID of the transit gateway metering policy for which the entry is being created
- destination_
cidr_ strblock - The list of IP addresses of the instances receiving traffic from the transit gateway
- destination_
port_ strrange - The list of ports on destination instances receiving traffic from the transit gateway
- destination_
transit_ strgateway_ attachment_ id - The ID of the source attachment through which traffic leaves a transit gateway
- destination_
transit_ Transitgateway_ attachment_ type Gateway Metering Policy Entry Transit Gateway Attachment Resource Type - The type of the attachment through which traffic leaves a transit gateway
- protocol str
- The protocol of the traffic
- source_
cidr_ strblock - The list of IP addresses of the instances sending traffic to the transit gateway for which the metering policy entry is applicable
- source_
port_ strrange - The list of ports on source instances sending traffic to the transit gateway
- source_
transit_ strgateway_ attachment_ id - The ID of the source attachment through which traffic enters a transit gateway
- source_
transit_ Transitgateway_ attachment_ type Gateway Metering Policy Entry Transit Gateway Attachment Resource Type - The type of the attachment through which traffic enters a transit gateway
- metered
Account "source-attachment-owner" | "destination-attachment-owner" | "transit-gateway-owner" - The resource owner information responsible for paying default billable charges for the traffic flow
- policy
Rule NumberNumber - The rule number of the metering policy entry
- transit
Gateway StringMetering Policy Id - The ID of the transit gateway metering policy for which the entry is being created
- destination
Cidr StringBlock - The list of IP addresses of the instances receiving traffic from the transit gateway
- destination
Port StringRange - The list of ports on destination instances receiving traffic from the transit gateway
- destination
Transit StringGateway Attachment Id - The ID of the source attachment through which traffic leaves a transit gateway
- destination
Transit "vpc" | "vpn" | "direct-connect-gateway" | "peering" | "network-function" | "vpn-concentrator"Gateway Attachment Type - The type of the attachment through which traffic leaves a transit gateway
- protocol String
- The protocol of the traffic
- source
Cidr StringBlock - The list of IP addresses of the instances sending traffic to the transit gateway for which the metering policy entry is applicable
- source
Port StringRange - The list of ports on source instances sending traffic to the transit gateway
- source
Transit StringGateway Attachment Id - The ID of the source attachment through which traffic enters a transit gateway
- source
Transit "vpc" | "vpn" | "direct-connect-gateway" | "peering" | "network-function" | "vpn-concentrator"Gateway Attachment Type - The type of the attachment through which traffic enters a transit gateway
Outputs
All input properties are implicitly available as output properties. Additionally, the TransitGatewayMeteringPolicyEntry resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- State of the transit gateway metering policy
- Update
Effective stringAt - The timestamp at which the latest action performed on the metering policy entry will become effective
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- State of the transit gateway metering policy
- Update
Effective stringAt - The timestamp at which the latest action performed on the metering policy entry will become effective
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- State of the transit gateway metering policy
- update
Effective StringAt - The timestamp at which the latest action performed on the metering policy entry will become effective
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- State of the transit gateway metering policy
- update
Effective stringAt - The timestamp at which the latest action performed on the metering policy entry will become effective
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- State of the transit gateway metering policy
- update_
effective_ strat - The timestamp at which the latest action performed on the metering policy entry will become effective
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- State of the transit gateway metering policy
- update
Effective StringAt - The timestamp at which the latest action performed on the metering policy entry will become effective
Supporting Types
TransitGatewayMeteringPolicyEntryTransitGatewayAttachmentResourceType, TransitGatewayMeteringPolicyEntryTransitGatewayAttachmentResourceTypeArgs
- Vpc
- vpc
- Vpn
- vpn
- Direct
Connect Gateway - direct-connect-gateway
- Peering
- peering
- Network
Function - network-function
- Vpn
Concentrator - vpn-concentrator
- Transit
Gateway Metering Policy Entry Transit Gateway Attachment Resource Type Vpc - vpc
- Transit
Gateway Metering Policy Entry Transit Gateway Attachment Resource Type Vpn - vpn
- Transit
Gateway Metering Policy Entry Transit Gateway Attachment Resource Type Direct Connect Gateway - direct-connect-gateway
- Transit
Gateway Metering Policy Entry Transit Gateway Attachment Resource Type Peering - peering
- Transit
Gateway Metering Policy Entry Transit Gateway Attachment Resource Type Network Function - network-function
- Transit
Gateway Metering Policy Entry Transit Gateway Attachment Resource Type Vpn Concentrator - vpn-concentrator
- Vpc
- vpc
- Vpn
- vpn
- Direct
Connect Gateway - direct-connect-gateway
- Peering
- peering
- Network
Function - network-function
- Vpn
Concentrator - vpn-concentrator
- Vpc
- vpc
- Vpn
- vpn
- Direct
Connect Gateway - direct-connect-gateway
- Peering
- peering
- Network
Function - network-function
- Vpn
Concentrator - vpn-concentrator
- VPC
- vpc
- VPN
- vpn
- DIRECT_CONNECT_GATEWAY
- direct-connect-gateway
- PEERING
- peering
- NETWORK_FUNCTION
- network-function
- VPN_CONCENTRATOR
- vpn-concentrator
- "vpc"
- vpc
- "vpn"
- vpn
- "direct-connect-gateway"
- direct-connect-gateway
- "peering"
- peering
- "network-function"
- network-function
- "vpn-concentrator"
- vpn-concentrator
TransitGatewayMeteringPolicyEntryTransitGatewayMeteringPayerType, TransitGatewayMeteringPolicyEntryTransitGatewayMeteringPayerTypeArgs
- Source
Attachment Owner - source-attachment-owner
- Destination
Attachment Owner - destination-attachment-owner
- Transit
Gateway Owner - transit-gateway-owner
- Transit
Gateway Metering Policy Entry Transit Gateway Metering Payer Type Source Attachment Owner - source-attachment-owner
- Transit
Gateway Metering Policy Entry Transit Gateway Metering Payer Type Destination Attachment Owner - destination-attachment-owner
- Transit
Gateway Metering Policy Entry Transit Gateway Metering Payer Type Transit Gateway Owner - transit-gateway-owner
- Source
Attachment Owner - source-attachment-owner
- Destination
Attachment Owner - destination-attachment-owner
- Transit
Gateway Owner - transit-gateway-owner
- Source
Attachment Owner - source-attachment-owner
- Destination
Attachment Owner - destination-attachment-owner
- Transit
Gateway Owner - transit-gateway-owner
- SOURCE_ATTACHMENT_OWNER
- source-attachment-owner
- DESTINATION_ATTACHMENT_OWNER
- destination-attachment-owner
- TRANSIT_GATEWAY_OWNER
- transit-gateway-owner
- "source-attachment-owner"
- source-attachment-owner
- "destination-attachment-owner"
- destination-attachment-owner
- "transit-gateway-owner"
- transit-gateway-owner
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
