# SecretConnectorPropertyProperty

Struct · External

Defines a secret property configuration.

SECRET-type properties cannot have DefaultValue or AllowedValues.

- Source: Generated at build time
- Type last changed: v2.272.0 · 30 Sep 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_glue as glue } from 'aws-cdk-lib';
const secretConnectorPropertyProperty: glue.CfnConnectionType.SecretConnectorPropertyProperty = {
  name: 'name',
  propertyType: 'propertyType',
  required: false,

  // the properties below are optional
  keyOverride: 'keyOverride',
  propertyLocation: 'propertyLocation',
};
```

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_glue as glue

secret_connector_property_property = glue.CfnConnectionType.SecretConnectorPropertyProperty(
    name="name",
    property_type="propertyType",
    required=False,

    # the properties below are optional
    key_override="keyOverride",
    property_location="propertyLocation"
)
```

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.glue.*;

SecretConnectorPropertyProperty secretConnectorPropertyProperty = SecretConnectorPropertyProperty.builder()
        .name("name")
        .propertyType("propertyType")
        .required(false)

        // the properties below are optional
        .keyOverride("keyOverride")
        .propertyLocation("propertyLocation")
        .build();
```

C#:

```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.Glue;

var secretConnectorPropertyProperty = new SecretConnectorPropertyProperty {
    Name = "name",
    PropertyType = "propertyType",
    Required = false,

    // the properties below are optional
    KeyOverride = "keyOverride",
    PropertyLocation = "propertyLocation"
};
```

Go:

```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"

secretConnectorPropertyProperty := &SecretConnectorPropertyProperty{
	Name: jsii.String("name"),
	PropertyType: jsii.String("propertyType"),
	Required: jsii.Boolean(false),

	// the properties below are optional
	KeyOverride: jsii.String("keyOverride"),
	PropertyLocation: jsii.String("propertyLocation"),
}
```

## Properties

- `keyOverride`: string — A key name to use when sending this property in API requests.

- `name`: string (required) — The name of the property.

- `propertyLocation`: string — Specifies where this property should be included in REST requests.

- `propertyType`: string (required) — The data type of this property.

  Must be SECRET for secret properties.

- `required`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) (required) — Indicates whether the property is required.
