Class CfnHookDefaultVersion
The AWS::CloudFormation::HookDefaultVersion
resource specifies the default version of a Hook.
Inherited Members
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnHookDefaultVersion : CfnResource, IInspectable, IHookDefaultVersionRef, IConstruct, IDependable
Syntax (vb)
Public Class CfnHookDefaultVersion Inherits CfnResource Implements IInspectable, IHookDefaultVersionRef, IConstruct, IDependable
Remarks
The default version of the Hook is used in CloudFormation operations for this AWS account and AWS Region .
For information about the CloudFormation registry, see Managing extensions with the CloudFormation registry in the AWS CloudFormation User Guide .
This resource type is not compatible with Guard and Lambda Hooks.
CloudformationResource: AWS::CloudFormation::HookDefaultVersion
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
var cfnHookDefaultVersion = new CfnHookDefaultVersion(this, "MyCfnHookDefaultVersion", new CfnHookDefaultVersionProps {
TypeName = "typeName",
TypeVersionArn = "typeVersionArn",
VersionId = "versionId"
});
Synopsis
Constructors
CfnHookDefaultVersion(Construct, string, ICfnHookDefaultVersionProps?) | The |
Properties
AttrArn | The Amazon Resource Number (ARN) of the activated Hook in this account and Region. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | The |
HookDefaultVersionRef | A reference to a HookDefaultVersion resource. |
TypeName | The name of the Hook. |
TypeVersionArn | The version ID of the type configuration. |
VersionId | The version ID of the type specified. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<string, object>) | The |
Constructors
CfnHookDefaultVersion(Construct, string, ICfnHookDefaultVersionProps?)
The AWS::CloudFormation::HookDefaultVersion
resource specifies the default version of a Hook.
public CfnHookDefaultVersion(Construct scope, string id, ICfnHookDefaultVersionProps? props = null)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnHookDefaultVersionProps
Resource properties.
Remarks
The default version of the Hook is used in CloudFormation operations for this AWS account and AWS Region .
For information about the CloudFormation registry, see Managing extensions with the CloudFormation registry in the AWS CloudFormation User Guide .
This resource type is not compatible with Guard and Lambda Hooks.
CloudformationResource: AWS::CloudFormation::HookDefaultVersion
ExampleMetadata: fixture=_generated
Properties
AttrArn
The Amazon Resource Number (ARN) of the activated Hook in this account and Region.
public virtual string AttrArn { get; }
Property Value
Remarks
CloudformationAttribute: Arn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
The default version of the Hook is used in CloudFormation operations for this AWS account and AWS Region .
For information about the CloudFormation registry, see Managing extensions with the CloudFormation registry in the AWS CloudFormation User Guide .
This resource type is not compatible with Guard and Lambda Hooks.
CloudformationResource: AWS::CloudFormation::HookDefaultVersion
ExampleMetadata: fixture=_generated
CfnProperties
The AWS::CloudFormation::HookDefaultVersion
resource specifies the default version of a Hook.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
The default version of the Hook is used in CloudFormation operations for this AWS account and AWS Region .
For information about the CloudFormation registry, see Managing extensions with the CloudFormation registry in the AWS CloudFormation User Guide .
This resource type is not compatible with Guard and Lambda Hooks.
CloudformationResource: AWS::CloudFormation::HookDefaultVersion
ExampleMetadata: fixture=_generated
HookDefaultVersionRef
A reference to a HookDefaultVersion resource.
public virtual IHookDefaultVersionReference HookDefaultVersionRef { get; }
Property Value
Remarks
The default version of the Hook is used in CloudFormation operations for this AWS account and AWS Region .
For information about the CloudFormation registry, see Managing extensions with the CloudFormation registry in the AWS CloudFormation User Guide .
This resource type is not compatible with Guard and Lambda Hooks.
CloudformationResource: AWS::CloudFormation::HookDefaultVersion
ExampleMetadata: fixture=_generated
TypeName
The name of the Hook.
public virtual string? TypeName { get; set; }
Property Value
Remarks
The default version of the Hook is used in CloudFormation operations for this AWS account and AWS Region .
For information about the CloudFormation registry, see Managing extensions with the CloudFormation registry in the AWS CloudFormation User Guide .
This resource type is not compatible with Guard and Lambda Hooks.
CloudformationResource: AWS::CloudFormation::HookDefaultVersion
ExampleMetadata: fixture=_generated
TypeVersionArn
The version ID of the type configuration.
public virtual string? TypeVersionArn { get; set; }
Property Value
Remarks
The default version of the Hook is used in CloudFormation operations for this AWS account and AWS Region .
For information about the CloudFormation registry, see Managing extensions with the CloudFormation registry in the AWS CloudFormation User Guide .
This resource type is not compatible with Guard and Lambda Hooks.
CloudformationResource: AWS::CloudFormation::HookDefaultVersion
ExampleMetadata: fixture=_generated
VersionId
The version ID of the type specified.
public virtual string? VersionId { get; set; }
Property Value
Remarks
The default version of the Hook is used in CloudFormation operations for this AWS account and AWS Region .
For information about the CloudFormation registry, see Managing extensions with the CloudFormation registry in the AWS CloudFormation User Guide .
This resource type is not compatible with Guard and Lambda Hooks.
CloudformationResource: AWS::CloudFormation::HookDefaultVersion
ExampleMetadata: fixture=_generated
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
The default version of the Hook is used in CloudFormation operations for this AWS account and AWS Region .
For information about the CloudFormation registry, see Managing extensions with the CloudFormation registry in the AWS CloudFormation User Guide .
This resource type is not compatible with Guard and Lambda Hooks.
CloudformationResource: AWS::CloudFormation::HookDefaultVersion
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
The AWS::CloudFormation::HookDefaultVersion
resource specifies the default version of a Hook.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
The default version of the Hook is used in CloudFormation operations for this AWS account and AWS Region .
For information about the CloudFormation registry, see Managing extensions with the CloudFormation registry in the AWS CloudFormation User Guide .
This resource type is not compatible with Guard and Lambda Hooks.
CloudformationResource: AWS::CloudFormation::HookDefaultVersion
ExampleMetadata: fixture=_generated