@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:35.805Z") @Stability(value=Stable) 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.*;
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. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnHookDefaultVersion(software.constructs.Construct scope,
String id)
Create a new `AWS::CloudFormation::HookDefaultVersion`.
|
|
CfnHookDefaultVersion(software.constructs.Construct scope,
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 |
|---|---|
String |
getAttrArn()
The Amazon Resource Number (ARN) of the activated extension, in this account and Region.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getTypeName()
The name of the hook.
|
String |
getTypeVersionArn()
The version ID of the type configuration.
|
String |
getVersionId()
The version ID of the type specified.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setTypeName(String value)
The name of the hook.
|
void |
setTypeVersionArn(String value)
The version ID of the type configuration.
|
void |
setVersionId(String value)
The version ID of the type specified.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnHookDefaultVersion(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnHookDefaultVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnHookDefaultVersion(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
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.@Stability(value=Stable)
public CfnHookDefaultVersion(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getTypeName()
You must specify either TypeVersionArn , or TypeName and VersionId .
@Stability(value=Stable)
public void setTypeName(@Nullable
String value)
You must specify either TypeVersionArn , or TypeName and VersionId .
@Stability(value=Stable) @Nullable public String getTypeVersionArn()
You must specify either TypeVersionArn , or TypeName and VersionId .
@Stability(value=Stable)
public void setTypeVersionArn(@Nullable
String value)
You must specify either TypeVersionArn , or TypeName and VersionId .
@Stability(value=Stable) @Nullable public String getVersionId()
You must specify either TypeVersionArn , or TypeName and VersionId .
@Stability(value=Stable)
public void setVersionId(@Nullable
String value)
You must specify either TypeVersionArn , or TypeName and VersionId .
Copyright © 2022. All rights reserved.