# GeneratedTemplateReference

A reference to a GeneratedTemplate resource.

- Source: Generated at build time
- Type last changed: v2.264.0 · 10 Aug 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudformation as interfaces_cloudformation } from 'aws-cdk-lib/interfaces';
const generatedTemplateReference: interfaces_cloudformation.GeneratedTemplateReference = {
  generatedTemplateId: 'generatedTemplateId',
};
```

Python:

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

generated_template_reference = interfaces_cloudformation.GeneratedTemplateReference(
    generated_template_id="generatedTemplateId"
)
```

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.interfaces.cloudformation.*;

GeneratedTemplateReference generatedTemplateReference = GeneratedTemplateReference.builder()
        .generatedTemplateId("generatedTemplateId")
        .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.Interfaces.CloudFormation;

var generatedTemplateReference = new GeneratedTemplateReference {
    GeneratedTemplateId = "generatedTemplateId"
};
```

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 "github.com/aws/aws-cdk-go/awscdk"

generatedTemplateReference := &GeneratedTemplateReference{
	GeneratedTemplateId: jsii.String("generatedTemplateId"),
}
```

## Properties

- `generatedTemplateId`: string (required) — The GeneratedTemplateId of the GeneratedTemplate resource.
