Class CfnVariable
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.frauddetector.CfnVariable
- All Implemented Interfaces:
IInspectable,ITaggable,IVariableRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:11.476Z")
@Stability(Stable)
public class CfnVariable
extends CfnResource
implements IInspectable, IVariableRef, ITaggable
Manages a variable.
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.frauddetector.*;
CfnVariable cfnVariable = CfnVariable.Builder.create(this, "MyCfnVariable")
.dataSource("dataSource")
.dataType("dataType")
.defaultValue("defaultValue")
.name("name")
// the properties below are optional
.description("description")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.variableType("variableType")
.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.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.frauddetector.IVariableRef
IVariableRef.Jsii$Default, IVariableRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnVariable(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnVariable(software.amazon.jsii.JsiiObjectRef objRef) CfnVariable(software.constructs.Construct scope, String id, CfnVariableProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the variable.Timestamp of when variable was created.Timestamp of when variable was last updated.The data source of the variable.The data type of the variable.The default value of the variable.The description of the variable.getName()The name of the variable.getTags()Tag Manager which manages the tags for this resource.An array of key-value pairs to apply to this resource.A reference to a Variable resource.The type of the variable.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetDataSource(String value) The data source of the variable.voidsetDataType(String value) The data type of the variable.voidsetDefaultValue(String value) The default value of the variable.voidsetDescription(String value) The description of the variable.voidThe name of the variable.voidsetTagsRaw(List<CfnTag> value) An array of key-value pairs to apply to this resource.voidsetVariableType(String value) The type of the variable.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, 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.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnVariable
protected CfnVariable(software.amazon.jsii.JsiiObjectRef objRef) -
CfnVariable
protected CfnVariable(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnVariable
@Stability(Stable) public CfnVariable(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnVariableProps props) - 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
-
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 ARN of the variable. -
getAttrCreatedTime
Timestamp of when variable was created. -
getAttrLastUpdatedTime
Timestamp of when variable was last updated. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getVariableRef
A reference to a Variable resource.- Specified by:
getVariableRefin interfaceIVariableRef
-
getDataSource
The data source of the variable. -
setDataSource
The data source of the variable. -
getDataType
The data type of the variable. -
setDataType
The data type of the variable. -
getDefaultValue
The default value of the variable. -
setDefaultValue
The default value of the variable. -
getName
The name of the variable. -
setName
The name of the variable. -
getDescription
The description of the variable. -
setDescription
The description of the variable. -
getTagsRaw
An array of key-value pairs to apply to this resource. -
setTagsRaw
An array of key-value pairs to apply to this resource. -
getVariableType
The type of the variable.For more information see Variable types .
-
setVariableType
The type of the variable.For more information see Variable types .
-