OptionsProperty Struct
Specifies the input parameters for a Guard Hook.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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"
}
};
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
inputParamsoptionalIResolvable | CfnGuardHook.S3LocationProperty | IResolvable | CfnGuardHook.S3LocationProperty[]input_paramsoptionaltyping.Union[IResolvable, S3LocationProperty, typing.List[typing.Union[IResolvable, S3LocationProperty]]]inputParamsoptionalIResolvableInputParamsoptionalIResolvableInputParamsoptionalinterface{} #Specifies the S3 location where your input parameters are located.