# OptionsProperty

Specifies the input parameters for a Guard Hook.

- Source: Generated at build time
- Type last changed: v2.251.0 · 24 Apr 2026

## 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 optionsProperty: cdk.CfnGuardHook.OptionsProperty = {
  inputParams: {
    uri: 'uri',

    // the properties below are optional
    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

options_property = cdk.CfnGuardHook.OptionsProperty(
    input_params=cdk.CfnGuardHook.S3LocationProperty(
        uri="uri",

        # the properties below are optional
        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.*;

OptionsProperty optionsProperty = OptionsProperty.builder()
        .inputParams(S3LocationProperty.builder()
                .uri("uri")

                // the properties below are optional
                .versionId("versionId")
                .build())
        .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 optionsProperty = new OptionsProperty {
    InputParams = new S3LocationProperty {
        Uri = "uri",

        // the properties below are optional
        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"

optionsProperty := &OptionsProperty{
	InputParams: &S3LocationProperty{
		Uri: jsii.String("uri"),

		// the properties below are optional
		VersionId: jsii.String("versionId"),
	},
}
```

## Properties

- `inputParams`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnGuardHook.S3LocationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnGuardHook.S3LocationProperty.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnGuardHook.S3LocationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnGuardHook.S3LocationProperty.html)[] — Specifies the S3 location where your input parameters are located.
