@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:34.830Z") public class CfnHookDefaultVersion extends CfnResource implements IInspectable
The HookDefaultVersion
resource specifies the default version of the hook. The default version of the hook is used in CloudFormation operations for this AWS account and AWS Region .
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.core.*; CfnHookDefaultVersion cfnHookDefaultVersion = CfnHookDefaultVersion.Builder.create(this, "MyCfnHookDefaultVersion") .typeName("typeName") .typeVersionArn("typeVersionArn") .versionId("versionId") .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnHookDefaultVersion.Builder
A fluent builder for
CfnHookDefaultVersion . |
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 |
---|---|
|
CfnHookDefaultVersion(Construct scope,
java.lang.String id)
Create a new `AWS::CloudFormation::HookDefaultVersion`.
|
|
CfnHookDefaultVersion(Construct scope,
java.lang.String id,
CfnHookDefaultVersionProps props)
Create a new `AWS::CloudFormation::HookDefaultVersion`.
|
protected |
CfnHookDefaultVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnHookDefaultVersion(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrArn()
The Amazon Resource Number (ARN) of the activated extension, in this account and Region.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getTypeName()
The name of the hook.
|
java.lang.String |
getTypeVersionArn()
The version ID of the type configuration.
|
java.lang.String |
getVersionId()
The version ID of the type specified.
|
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 |
setTypeName(java.lang.String value)
The name of the hook.
|
void |
setTypeVersionArn(java.lang.String value)
The version ID of the type configuration.
|
void |
setVersionId(java.lang.String value)
The version ID of the type specified.
|
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 CfnHookDefaultVersion(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnHookDefaultVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnHookDefaultVersion(Construct scope, java.lang.String id, CfnHookDefaultVersionProps 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.public CfnHookDefaultVersion(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. 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.public java.lang.String getAttrArn()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getTypeName()
You must specify either TypeVersionArn
, or TypeName
and VersionId
.
public void setTypeName(java.lang.String value)
You must specify either TypeVersionArn
, or TypeName
and VersionId
.
public java.lang.String getTypeVersionArn()
You must specify either TypeVersionArn
, or TypeName
and VersionId
.
public void setTypeVersionArn(java.lang.String value)
You must specify either TypeVersionArn
, or TypeName
and VersionId
.
public java.lang.String getVersionId()
You must specify either TypeVersionArn
, or TypeName
and VersionId
.
public void setVersionId(java.lang.String value)
You must specify either TypeVersionArn
, or TypeName
and VersionId
.