Class CfnTransitGatewayMeteringPolicy
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.ec2.CfnTransitGatewayMeteringPolicy
- All Implemented Interfaces:
IInspectable,ITransitGatewayMeteringPolicyRef,IEnvironmentAware,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:19.215Z")
@Stability(Stable)
public class CfnTransitGatewayMeteringPolicy
extends CfnResource
implements IInspectable, ITransitGatewayMeteringPolicyRef, ITaggableV2
Describes a transit gateway metering policy.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
CfnTransitGatewayMeteringPolicy cfnTransitGatewayMeteringPolicy = CfnTransitGatewayMeteringPolicy.Builder.create(this, "MyCfnTransitGatewayMeteringPolicy")
.transitGatewayId("transitGatewayId")
// the properties below are optional
.middleboxAttachmentIds(List.of("middleboxAttachmentIds"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnTransitGatewayMeteringPolicy.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.ec2.ITransitGatewayMeteringPolicyRef
ITransitGatewayMeteringPolicyRef.Jsii$Default, ITransitGatewayMeteringPolicyRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnTransitGatewayMeteringPolicy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnTransitGatewayMeteringPolicy(software.amazon.jsii.JsiiObjectRef objRef) CfnTransitGatewayMeteringPolicy(software.constructs.Construct scope, String id, CfnTransitGatewayMeteringPolicyProps props) Create a newAWS::EC2::TransitGatewayMeteringPolicy. -
Method Summary
Modifier and TypeMethodDescriptionThe state of the transit gateway metering policy.The ID of the transit gateway metering policy.The date and time when the metering policy update becomes effective.Tag Manager which manages the tags for this resource.The IDs of the middlebox attachments associated with the metering policy.getTags()The tags assigned to the transit gateway metering policy.The ID of the transit gateway associated with the metering policy.A reference to a TransitGatewayMeteringPolicy resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnTransitGatewayMeteringPolicy.renderProperties(Map<String, Object> props) voidsetMiddleboxAttachmentIds(List<String> value) The IDs of the middlebox attachments associated with the metering policy.voidThe tags assigned to the transit gateway metering policy.voidsetTransitGatewayId(String value) The ID of the transit gateway associated with the metering policy.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnTransitGatewayMeteringPolicy
protected CfnTransitGatewayMeteringPolicy(software.amazon.jsii.JsiiObjectRef objRef) -
CfnTransitGatewayMeteringPolicy
protected CfnTransitGatewayMeteringPolicy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnTransitGatewayMeteringPolicy
@Stability(Stable) public CfnTransitGatewayMeteringPolicy(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnTransitGatewayMeteringPolicyProps props) Create a newAWS::EC2::TransitGatewayMeteringPolicy.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
isCfnTransitGatewayMeteringPolicy
@Stability(Stable) @NotNull public static Boolean isCfnTransitGatewayMeteringPolicy(@NotNull Object x) Checks whether the given object is a CfnTransitGatewayMeteringPolicy.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrState
The state of the transit gateway metering policy. -
getAttrTransitGatewayMeteringPolicyId
The ID of the transit gateway metering policy. -
getAttrUpdateEffectiveAt
The date and time when the metering policy update becomes effective. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTransitGatewayMeteringPolicyRef
@Stability(Stable) @NotNull public TransitGatewayMeteringPolicyReference getTransitGatewayMeteringPolicyRef()A reference to a TransitGatewayMeteringPolicy resource.- Specified by:
getTransitGatewayMeteringPolicyRefin interfaceITransitGatewayMeteringPolicyRef
-
getTransitGatewayId
The ID of the transit gateway associated with the metering policy. -
setTransitGatewayId
The ID of the transit gateway associated with the metering policy. -
getMiddleboxAttachmentIds
The IDs of the middlebox attachments associated with the metering policy. -
setMiddleboxAttachmentIds
The IDs of the middlebox attachments associated with the metering policy. -
getTags
The tags assigned to the transit gateway metering policy. -
setTags
The tags assigned to the transit gateway metering policy.
-