Class CfnHookTypeConfig

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:01.477Z") @Stability(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();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnHookTypeConfig

      protected CfnHookTypeConfig(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnHookTypeConfig

      protected CfnHookTypeConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnHookTypeConfig

      @Stability(Stable) public CfnHookTypeConfig(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnHookTypeConfigProps 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

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      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 class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrConfigurationArn

      @Stability(Stable) @NotNull public String getAttrConfigurationArn()
      The Amazon Resource Number (ARN) of the activated hook type configuration, in this account and Region.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getConfiguration

      @Stability(Stable) @NotNull public String getConfiguration()
      Specifies the activated hook type configuration, in this AWS account and AWS Region .
    • setConfiguration

      @Stability(Stable) public void setConfiguration(@NotNull String value)
      Specifies the activated hook type configuration, in this AWS account and AWS Region .
    • getConfigurationAlias

      @Stability(Stable) @Nullable public String getConfigurationAlias()
      Specifies the activated hook type configuration, in this AWS account and AWS Region .
    • setConfigurationAlias

      @Stability(Stable) public void setConfigurationAlias(@Nullable String value)
      Specifies the activated hook type configuration, in this AWS account and AWS Region .
    • getTypeArn

      @Stability(Stable) @Nullable public String getTypeArn()
      The Amazon Resource Number (ARN) for the hook to set Configuration for.
    • setTypeArn

      @Stability(Stable) public void setTypeArn(@Nullable String value)
      The Amazon Resource Number (ARN) for the hook to set Configuration for.
    • getTypeName

      @Stability(Stable) @Nullable public String getTypeName()
      The unique name for your hook.
    • setTypeName

      @Stability(Stable) public void setTypeName(@Nullable String value)
      The unique name for your hook.