# ReleaseLifecycleProperty

The publisher's lifecycle declaration for the alias.

Omitting it removes any stored declaration.

- Source: Generated at build time

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const releaseLifecycleProperty: lambda.CfnRuntimeAlias.ReleaseLifecycleProperty = {
  deprecationDate: 'deprecationDate',
  functionCreateBlockDate: 'functionCreateBlockDate',
  functionUpdateBlockDate: 'functionUpdateBlockDate',
  releaseState: 'releaseState',
};
```

Python:

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

release_lifecycle_property = lambda.CfnRuntimeAlias.ReleaseLifecycleProperty(
    deprecation_date="deprecationDate",
    function_create_block_date="functionCreateBlockDate",
    function_update_block_date="functionUpdateBlockDate",
    release_state="releaseState"
)
```

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.services.lambda.*;

ReleaseLifecycleProperty releaseLifecycleProperty = ReleaseLifecycleProperty.builder()
        .deprecationDate("deprecationDate")
        .functionCreateBlockDate("functionCreateBlockDate")
        .functionUpdateBlockDate("functionUpdateBlockDate")
        .releaseState("releaseState")
        .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.AWS.Lambda;

var releaseLifecycleProperty = new ReleaseLifecycleProperty {
    DeprecationDate = "deprecationDate",
    FunctionCreateBlockDate = "functionCreateBlockDate",
    FunctionUpdateBlockDate = "functionUpdateBlockDate",
    ReleaseState = "releaseState"
};
```

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"

releaseLifecycleProperty := &ReleaseLifecycleProperty{
	DeprecationDate: jsii.String("deprecationDate"),
	FunctionCreateBlockDate: jsii.String("functionCreateBlockDate"),
	FunctionUpdateBlockDate: jsii.String("functionUpdateBlockDate"),
	ReleaseState: jsii.String("releaseState"),
}
```

## Properties

- `deprecationDate`: string — The date on which the alias becomes deprecated.

  A UTC calendar date in yyyy-mm-dd format.

- `functionCreateBlockDate`: string — The date on which creating new functions on this alias is blocked.

  A UTC calendar date in yyyy-mm-dd format.

- `functionUpdateBlockDate`: string — The date on which updating existing functions on this alias is blocked.

  A UTC calendar date in yyyy-mm-dd format.

- `releaseState`: string — The release state of the alias.

  DEPRECATED requires a DeprecationDate on or before today (UTC); PREVIEW and GA require a later DeprecationDate, or none. Reads report DEPRECATED once DeprecationDate is reached.
