@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:35.807Z") @Stability(value=Stable) public class CfnHookTypeConfig extends CfnResource implements IInspectable
The HookTypeConfig resource specifies the configuration of a hook.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
CfnHookTypeConfig cfnHookTypeConfig = CfnHookTypeConfig.Builder.create(this, "MyCfnHookTypeConfig")
.configuration("configuration")
// the properties below are optional
.configurationAlias("configurationAlias")
.typeArn("typeArn")
.typeName("typeName")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnHookTypeConfig.Builder
A fluent builder for
CfnHookTypeConfig. |
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 |
|---|---|
|
CfnHookTypeConfig(software.constructs.Construct scope,
String id,
CfnHookTypeConfigProps props)
Create a new `AWS::CloudFormation::HookTypeConfig`.
|
protected |
CfnHookTypeConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnHookTypeConfig(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrConfigurationArn()
The Amazon Resource Number (ARN) of the activated hook type configuration, in this account and Region.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getConfiguration()
Specifies the activated hook type configuration, in this AWS account and AWS Region .
|
String |
getConfigurationAlias()
Specifies the activated hook type configuration, in this AWS account and AWS Region .
|
String |
getTypeArn()
The Amazon Resource Number (ARN) for the hook to set `Configuration` for.
|
String |
getTypeName()
The unique name for your hook.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setConfiguration(String value)
Specifies the activated hook type configuration, in this AWS account and AWS Region .
|
void |
setConfigurationAlias(String value)
Specifies the activated hook type configuration, in this AWS account and AWS Region .
|
void |
setTypeArn(String value)
The Amazon Resource Number (ARN) for the hook to set `Configuration` for.
|
void |
setTypeName(String value)
The unique name for your hook.
|
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 CfnHookTypeConfig(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnHookTypeConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnHookTypeConfig(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnHookTypeConfigProps 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. 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 getAttrConfigurationArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getConfiguration()
You must specify either TypeName and Configuration or TypeARN and Configuration .
@Stability(value=Stable)
public void setConfiguration(@NotNull
String value)
You must specify either TypeName and Configuration or TypeARN and Configuration .
@Stability(value=Stable) @Nullable public String getConfigurationAlias()
Defaults to default alias. Hook types currently support default configuration alias.
@Stability(value=Stable)
public void setConfigurationAlias(@Nullable
String value)
Defaults to default alias. Hook types currently support default configuration alias.
@Stability(value=Stable) @Nullable public String getTypeArn()
You must specify either TypeName and Configuration or TypeARN and Configuration .
@Stability(value=Stable)
public void setTypeArn(@Nullable
String value)
You must specify either TypeName and Configuration or TypeARN and Configuration .
@Stability(value=Stable) @Nullable public String getTypeName()
Specifies a three-part namespace for your hook, with a recommended pattern of Organization::Service::Hook .
You must specify either TypeName and Configuration or TypeARN and Configuration .
@Stability(value=Stable)
public void setTypeName(@Nullable
String value)
Specifies a three-part namespace for your hook, with a recommended pattern of Organization::Service::Hook .
You must specify either TypeName and Configuration or TypeARN and Configuration .
Copyright © 2022. All rights reserved.