ConnectivityParametersProperty Struct
If you specify a private OAuth endpoint, the parameters for EventBridge to use when authenticating against the endpoint.
For more information, see Authorization methods for connections in the Amazon EventBridge User Guide .
| 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 { aws_events as events } from 'aws-cdk-lib';
const connectivityParametersProperty: events.CfnConnection.ConnectivityParametersProperty = {
resourceParameters: {
resourceConfigurationArn: 'resourceConfigurationArn',
// the properties below are optional
resourceAssociationArn: 'resourceAssociationArn',
},
};
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_events as events
connectivity_parameters_property = events.CfnConnection.ConnectivityParametersProperty(
resource_parameters=events.CfnConnection.ResourceParametersProperty(
resource_configuration_arn="resourceConfigurationArn",
# the properties below are optional
resource_association_arn="resourceAssociationArn"
)
)
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.events.*;
ConnectivityParametersProperty connectivityParametersProperty = ConnectivityParametersProperty.builder()
.resourceParameters(ResourceParametersProperty.builder()
.resourceConfigurationArn("resourceConfigurationArn")
// the properties below are optional
.resourceAssociationArn("resourceAssociationArn")
.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.AWS.Events;
var connectivityParametersProperty = new ConnectivityParametersProperty {
ResourceParameters = new ResourceParametersProperty {
ResourceConfigurationArn = "resourceConfigurationArn",
// the properties below are optional
ResourceAssociationArn = "resourceAssociationArn"
}
};
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"
connectivityParametersProperty := &ConnectivityParametersProperty{
ResourceParameters: &ResourceParametersProperty{
ResourceConfigurationArn: jsii.String("resourceConfigurationArn"),
// the properties below are optional
ResourceAssociationArn: jsii.String("resourceAssociationArn"),
},
}
Properties
resourceParametersIResolvable | CfnConnection.resource_parameterstyping.Union[IResolvable, ResourceParametersProperty]resourceParametersIResolvableResourceParametersIResolvableResourceParametersinterface{} required #The parameters for EventBridge to use when invoking the resource endpoint.