@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:20.430Z") 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.core.*; 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 . |
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 |
---|---|
|
CfnHookTypeConfig(Construct scope,
java.lang.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 |
---|---|
java.lang.String |
getAttrConfigurationArn()
The Amazon Resource Number (ARN) of the activated hook type configuration, in this account and Region.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getConfiguration()
Specifies the activated hook type configuration, in this AWS account and AWS Region .
|
java.lang.String |
getConfigurationAlias()
Specifies the activated hook type configuration, in this AWS account and AWS Region .
|
java.lang.String |
getTypeArn()
The Amazon Resource Number (ARN) for the hook to set `Configuration` for.
|
java.lang.String |
getTypeName()
The unique name for your hook.
|
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 |
setConfiguration(java.lang.String value)
Specifies the activated hook type configuration, in this AWS account and AWS Region .
|
void |
setConfigurationAlias(java.lang.String value)
Specifies the activated hook type configuration, in this AWS account and AWS Region .
|
void |
setTypeArn(java.lang.String value)
The Amazon Resource Number (ARN) for the hook to set `Configuration` for.
|
void |
setTypeName(java.lang.String value)
The unique name for your hook.
|
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 CfnHookTypeConfig(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnHookTypeConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnHookTypeConfig(Construct scope, java.lang.String id, 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.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 getAttrConfigurationArn()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getConfiguration()
You must specify either TypeName
and Configuration
or TypeARN
and Configuration
.
public void setConfiguration(java.lang.String value)
You must specify either TypeName
and Configuration
or TypeARN
and Configuration
.
public java.lang.String getConfigurationAlias()
Defaults to default
alias. Hook types currently support default configuration alias.
public void setConfigurationAlias(java.lang.String value)
Defaults to default
alias. Hook types currently support default configuration alias.
public java.lang.String getTypeArn()
You must specify either TypeName
and Configuration
or TypeARN
and Configuration
.
public void setTypeArn(java.lang.String value)
You must specify either TypeName
and Configuration
or TypeARN
and Configuration
.
public java.lang.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
.
public void setTypeName(java.lang.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
.