Table of Contents

Class CfnHookDefaultVersion

Namespace
Amazon.CDK
Assembly
Amazon.CDK.dll

A CloudFormation AWS::CloudFormation::HookDefaultVersion.

public class CfnHookDefaultVersion : CfnResource, IConstruct, IConstruct, IDependable, IInspectable
Inheritance
CfnHookDefaultVersion
Implements
IConstruct
Inherited Members

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"
             });

Remarks

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 .

CloudformationResource: AWS::CloudFormation::HookDefaultVersion

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hookdefaultversion.html

ExampleMetadata: fixture=_generated

Constructors

CfnHookDefaultVersion(Construct, string, ICfnHookDefaultVersionProps?)

Create a new AWS::CloudFormation::HookDefaultVersion.

public CfnHookDefaultVersion(Construct scope, string id, ICfnHookDefaultVersionProps? props = null)

Parameters

scope Construct
  • scope in which this resource is defined.
id string
  • scoped id of the resource.
props ICfnHookDefaultVersionProps
  • resource properties.

Properties

AttrArn

The Amazon Resource Number (ARN) of the activated extension, in this account and Region.

public virtual string AttrArn { get; }

Property Value

string

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

string

CfnProperties

protected override IDictionary<string, object> CfnProperties { get; }

Property Value

IDictionary<string, object>

TypeName

The name of the hook.

public virtual string? TypeName { get; set; }

Property Value

string

Remarks

TypeVersionArn

The version ID of the type configuration.

public virtual string? TypeVersionArn { get; set; }

Property Value

string

Remarks

VersionId

The version ID of the type specified.

public virtual string? VersionId { get; set; }

Property Value

string

Remarks

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.

RenderProperties(IDictionary<string, object>)

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)

Parameters

props IDictionary<string, object>

Returns

IDictionary<string, object>