# CfnHookDefaultVersionProps

Properties for defining a `CfnHookDefaultVersion`.

Used as props by: [CfnHookDefaultVersion](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnHookDefaultVersion.html)

- Source: Generated at build time
- Type last changed: v2.13.0 · 19 Feb 2022

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const cfnHookDefaultVersionProps: cdk.CfnHookDefaultVersionProps = {
  typeName: 'typeName',
  typeVersionArn: 'typeVersionArn',
  versionId: 'versionId',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk

cfn_hook_default_version_props = cdk.CfnHookDefaultVersionProps(
    type_name="typeName",
    type_version_arn="typeVersionArn",
    version_id="versionId"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;

CfnHookDefaultVersionProps cfnHookDefaultVersionProps = CfnHookDefaultVersionProps.builder()
        .typeName("typeName")
        .typeVersionArn("typeVersionArn")
        .versionId("versionId")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;

var cfnHookDefaultVersionProps = new CfnHookDefaultVersionProps {
    TypeName = "typeName",
    TypeVersionArn = "typeVersionArn",
    VersionId = "versionId"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import cdk "github.com/aws/aws-cdk-go/awscdk"

cfnHookDefaultVersionProps := &CfnHookDefaultVersionProps{
	TypeName: jsii.String("typeName"),
	TypeVersionArn: jsii.String("typeVersionArn"),
	VersionId: jsii.String("versionId"),
}
```

## Properties

- `typeName`: string — The name of the Hook.

  You must specify either `TypeVersionArn` , or `TypeName` and `VersionId` .

- `typeVersionArn`: string — The version ID of the type configuration.

  You must specify either `TypeVersionArn` , or `TypeName` and `VersionId` .

- `versionId`: string — The version ID of the type specified.

  You must specify either `TypeVersionArn` , or `TypeName` and `VersionId` .
