We recommend new projects start with resources from the AWS provider.
We recommend new projects start with resources from the AWS provider.
AWS::EC2::TransitGatewayMeteringPolicy Resource Definition
Create TransitGatewayMeteringPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TransitGatewayMeteringPolicy(name: string, args: TransitGatewayMeteringPolicyArgs, opts?: CustomResourceOptions);@overload
def TransitGatewayMeteringPolicy(resource_name: str,
args: TransitGatewayMeteringPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TransitGatewayMeteringPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
transit_gateway_id: Optional[str] = None,
middlebox_attachment_ids: Optional[Sequence[str]] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewTransitGatewayMeteringPolicy(ctx *Context, name string, args TransitGatewayMeteringPolicyArgs, opts ...ResourceOption) (*TransitGatewayMeteringPolicy, error)public TransitGatewayMeteringPolicy(string name, TransitGatewayMeteringPolicyArgs args, CustomResourceOptions? opts = null)
public TransitGatewayMeteringPolicy(String name, TransitGatewayMeteringPolicyArgs args)
public TransitGatewayMeteringPolicy(String name, TransitGatewayMeteringPolicyArgs args, CustomResourceOptions options)
type: aws-native:ec2:TransitGatewayMeteringPolicy
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 TransitGatewayMeteringPolicyArgs
- 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 TransitGatewayMeteringPolicyArgs
- 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 TransitGatewayMeteringPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TransitGatewayMeteringPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TransitGatewayMeteringPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TransitGatewayMeteringPolicy 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 TransitGatewayMeteringPolicy resource accepts the following input properties:
- Transit
Gateway stringId - The Id of transit gateway
- Middlebox
Attachment List<string>Ids - Middle box attachment Ids
-
List<Pulumi.
Aws Native. Inputs. Tag> - The tags assigned to the transit gateway metering policy.
- Transit
Gateway stringId - The Id of transit gateway
- Middlebox
Attachment []stringIds - Middle box attachment Ids
-
Tag
Args - The tags assigned to the transit gateway metering policy.
- transit
Gateway StringId - The Id of transit gateway
- middlebox
Attachment List<String>Ids - Middle box attachment Ids
- List<Tag>
- The tags assigned to the transit gateway metering policy.
- transit
Gateway stringId - The Id of transit gateway
- middlebox
Attachment string[]Ids - Middle box attachment Ids
- Tag[]
- The tags assigned to the transit gateway metering policy.
- transit_
gateway_ strid - The Id of transit gateway
- middlebox_
attachment_ Sequence[str]ids - Middle box attachment Ids
-
Sequence[Tag
Args] - The tags assigned to the transit gateway metering policy.
- transit
Gateway StringId - The Id of transit gateway
- middlebox
Attachment List<String>Ids - Middle box attachment Ids
- List<Property Map>
- The tags assigned to the transit gateway metering policy.
Outputs
All input properties are implicitly available as output properties. Additionally, the TransitGatewayMeteringPolicy 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
- Transit
Gateway stringMetering Policy Id - The Id of the transit gateway metering policy
- Update
Effective stringAt - The timestamp at which the latest action performed on the metering policy will become effective
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- State of the transit gateway metering policy
- Transit
Gateway stringMetering Policy Id - The Id of the transit gateway metering policy
- Update
Effective stringAt - The timestamp at which the latest action performed on the metering policy will become effective
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- State of the transit gateway metering policy
- transit
Gateway StringMetering Policy Id - The Id of the transit gateway metering policy
- update
Effective StringAt - The timestamp at which the latest action performed on the metering policy will become effective
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- State of the transit gateway metering policy
- transit
Gateway stringMetering Policy Id - The Id of the transit gateway metering policy
- update
Effective stringAt - The timestamp at which the latest action performed on the metering policy will become effective
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- State of the transit gateway metering policy
- transit_
gateway_ strmetering_ policy_ id - The Id of the transit gateway metering policy
- update_
effective_ strat - The timestamp at which the latest action performed on the metering policy will become effective
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- State of the transit gateway metering policy
- transit
Gateway StringMetering Policy Id - The Id of the transit gateway metering policy
- update
Effective StringAt - The timestamp at which the latest action performed on the metering policy will become effective
Supporting Types
Tag, TagArgs
A set of tags to apply to the 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.
