Skip to content
v2.278.0

ConnectorPropertyProperty Struct ​

Defines a property configuration for connection types.

Example ​

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 connectorPropertyProperty: glue.CfnConnectionType.ConnectorPropertyProperty = {
  name: 'name',
  propertyType: 'propertyType',
  required: false,

  // the properties below are optional
  allowedValues: ['allowedValues'],
  defaultValue: 'defaultValue',
  keyOverride: 'keyOverride',
  propertyLocation: 'propertyLocation',
};
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

connector_property_property = glue.CfnConnectionType.ConnectorPropertyProperty(
    name="name",
    property_type="propertyType",
    required=False,

    # the properties below are optional
    allowed_values=["allowedValues"],
    default_value="defaultValue",
    key_override="keyOverride",
    property_location="propertyLocation"
)
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.*;

ConnectorPropertyProperty connectorPropertyProperty = ConnectorPropertyProperty.builder()
        .name("name")
        .propertyType("propertyType")
        .required(false)

        // the properties below are optional
        .allowedValues(List.of("allowedValues"))
        .defaultValue("defaultValue")
        .keyOverride("keyOverride")
        .propertyLocation("propertyLocation")
        .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.AWS.Glue;

var connectorPropertyProperty = new ConnectorPropertyProperty {
    Name = "name",
    PropertyType = "propertyType",
    Required = false,

    // the properties below are optional
    AllowedValues = new [] { "allowedValues" },
    DefaultValue = "defaultValue",
    KeyOverride = "keyOverride",
    PropertyLocation = "propertyLocation"
};
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"

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

	// the properties below are optional
	AllowedValues: []*string{
		jsii.String("allowedValues"),
	},
	DefaultValue: jsii.String("defaultValue"),
	KeyOverride: jsii.String("keyOverride"),
	PropertyLocation: jsii.String("propertyLocation"),
}

Properties ​

allowedValuesoptionalstring[]allowed_valuesoptionaltyping.List[str]allowedValuesoptionalList<String>AllowedValuesoptionalstring[]AllowedValuesoptional*[]*string #
A list of allowed values for the property.
defaultValueoptionalstringdefault_valueoptionalstrdefaultValueoptionalStringDefaultValueoptionalstringDefaultValueoptional*string #
The default value for the property.
keyOverrideoptionalstringkey_overrideoptionalstrkeyOverrideoptionalStringKeyOverrideoptionalstringKeyOverrideoptional*string #
A key name to use when sending this property in API requests.
namestringnamestrnameStringNamestringName*string required #
The name of the property.
propertyLocationoptionalstringproperty_locationoptionalstrpropertyLocationoptionalStringPropertyLocationoptionalstringPropertyLocationoptional*string #
Specifies where this property should be included in REST requests.
propertyTypestringproperty_typestrpropertyTypeStringPropertyTypestringPropertyType*string required #
The data type of this property.
requiredboolean | IResolvablerequiredtyping.Union[bool, IResolvable]requiredBooleanRequiredboolRequiredinterface{} required #
Indicates whether the property is required.