Class CfnDatasetIntegration
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.observabilityadmin.CfnDatasetIntegration
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IDatasetIntegrationRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-10-08T16:59:59.291Z")
@Stability(Stable)
public class CfnDatasetIntegration
extends CfnResource
implements IInspectable, IDatasetIntegrationRef, ITaggableV2
The AWS::ObservabilityAdmin::DatasetIntegration resource represents a CloudWatch dataset integration for an account in a region.
The integration enables telemetry forwarding into the caller's CloudWatch dataset via a customer-provided IAM role.
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.observabilityadmin.*;
CfnDatasetIntegration cfnDatasetIntegration = CfnDatasetIntegration.Builder.create(this, "MyCfnDatasetIntegration")
.roleArn("roleArn")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested 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.interfaces.observabilityadmin.IDatasetIntegrationRef
IDatasetIntegrationRef.Jsii$Default, IDatasetIntegrationRef.Jsii$ProxyNested 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$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnDatasetIntegration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDatasetIntegration(software.amazon.jsii.JsiiObjectRef objRef) CfnDatasetIntegration(software.constructs.Construct scope, String id, CfnDatasetIntegrationProps props) Create a newAWS::ObservabilityAdmin::DatasetIntegration. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringThe Amazon Resource Name (ARN) of the dataset integration.The ISO 8601 timestamp of when the dataset integration was created.The ISO 8601 timestamp of when the dataset integration was last updated.Tag Manager which manages the tags for this resource.A reference to a DatasetIntegration resource.The ARN of the IAM role that the service assumes to forward telemetry to the customer's CloudWatch dataset.getTags()An array of key-value pairs to apply to this resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnDatasetIntegration.renderProperties(Map<String, Object> props) voidsetRoleArn(String value) The ARN of the IAM role that the service assumes to forward telemetry to the customer's CloudWatch dataset.voidAn array of key-value pairs to apply to this resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods 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
getNode, withMethods 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
-
CfnDatasetIntegration
protected CfnDatasetIntegration(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDatasetIntegration
protected CfnDatasetIntegration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDatasetIntegration
@Stability(Stable) public CfnDatasetIntegration(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDatasetIntegrationProps props) Create a newAWS::ObservabilityAdmin::DatasetIntegration.- 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
-
arnForDatasetIntegration
@Stability(Stable) @NotNull public static String arnForDatasetIntegration(@NotNull IDatasetIntegrationRef resource) - Parameters:
resource- This parameter is required.
-
isCfnDatasetIntegration
Checks whether the given object is a CfnDatasetIntegration.- 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.
-
getAttrArn
The Amazon Resource Name (ARN) of the dataset integration. -
getAttrCreatedAt
The ISO 8601 timestamp of when the dataset integration was created. -
getAttrUpdatedAt
The ISO 8601 timestamp of when the dataset integration was last updated. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getDatasetIntegrationRef
A reference to a DatasetIntegration resource.- Specified by:
getDatasetIntegrationRefin interfaceIDatasetIntegrationRef
-
getRoleArn
The ARN of the IAM role that the service assumes to forward telemetry to the customer's CloudWatch dataset. -
setRoleArn
The ARN of the IAM role that the service assumes to forward telemetry to the customer's CloudWatch dataset. -
getTags
An array of key-value pairs to apply to this resource. -
setTags
An array of key-value pairs to apply to this resource.
-