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
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-03-04T22:57:25.006Z")
@Stability(Stable)
public class CfnVariable
extends CfnResource
implements IInspectable, 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.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnVariable
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnVariable
(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.The type of the variable.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setDataSource
(String value) The data source of the variable.void
setDataType
(String value) The data type of the variable.void
setDefaultValue
(String value) The default value of the variable.void
setDescription
(String value) The description of the variable.void
The name of the variable.void
setTagsRaw
(List<CfnTag> value) An array of key-value pairs to apply to this resource.void
setVariableType
(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, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
inspect
in 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:
renderProperties
in 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:
getCfnProperties
in classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
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 .
-