@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:42.663Z") public class CfnNetworkPerformanceMetricSubscription extends CfnResource implements IInspectable
Describes Infrastructure Performance subscriptions.
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.*; CfnNetworkPerformanceMetricSubscription cfnNetworkPerformanceMetricSubscription = CfnNetworkPerformanceMetricSubscription.Builder.create(this, "MyCfnNetworkPerformanceMetricSubscription") .destination("destination") .metric("metric") .source("source") .statistic("statistic") .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnNetworkPerformanceMetricSubscription.Builder
A fluent builder for
CfnNetworkPerformanceMetricSubscription . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnNetworkPerformanceMetricSubscription(Construct scope,
java.lang.String id,
CfnNetworkPerformanceMetricSubscriptionProps props)
Create a new `AWS::EC2::NetworkPerformanceMetricSubscription`.
|
protected |
CfnNetworkPerformanceMetricSubscription(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnNetworkPerformanceMetricSubscription(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getDestination()
The Region or Availability Zone that's the target for the subscription.
|
java.lang.String |
getMetric()
The metric used for the subscription.
|
java.lang.String |
getSource()
The Region or Availability Zone that's the source for the subscription.
|
java.lang.String |
getStatistic()
The statistic used for the subscription.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setDestination(java.lang.String value)
The Region or Availability Zone that's the target for the subscription.
|
void |
setMetric(java.lang.String value)
The metric used for the subscription.
|
void |
setSource(java.lang.String value)
The Region or Availability Zone that's the source for the subscription.
|
void |
setStatistic(java.lang.String value)
The statistic used for the subscription.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnNetworkPerformanceMetricSubscription(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnNetworkPerformanceMetricSubscription(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnNetworkPerformanceMetricSubscription(Construct scope, java.lang.String id, CfnNetworkPerformanceMetricSubscriptionProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getDestination()
For example, eu-west-1
.
public void setDestination(java.lang.String value)
For example, eu-west-1
.
public java.lang.String getMetric()
public void setMetric(java.lang.String value)
public java.lang.String getSource()
For example, us-east-1
.
public void setSource(java.lang.String value)
For example, us-east-1
.
public java.lang.String getStatistic()
public void setStatistic(java.lang.String value)