InvocationConnectivityParametersProperty Struct
For connections to private APIs, the parameters to use for invoking the API.
For more information, see Connecting to private APIs in the Amazon EventBridge User Guide .
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 invocationConnectivityParametersProperty: events.CfnConnection.InvocationConnectivityParametersProperty = {
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
invocation_connectivity_parameters_property = events.CfnConnection.InvocationConnectivityParametersProperty(
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.*;
InvocationConnectivityParametersProperty invocationConnectivityParametersProperty = InvocationConnectivityParametersProperty.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 invocationConnectivityParametersProperty = new InvocationConnectivityParametersProperty {
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"
invocationConnectivityParametersProperty := &InvocationConnectivityParametersProperty{
ResourceParameters: &ResourceParametersProperty{
ResourceConfigurationArn: jsii.String("resourceConfigurationArn"),
// the properties below are optional
ResourceAssociationArn: jsii.String("resourceAssociationArn"),
},
}
Properties
resourceParametersIResolvable | CfnConnection.ResourceParametersPropertyresource_parameterstyping.Union[IResolvable, ResourceParametersProperty]resourceParametersIResolvableResourceParametersIResolvableResourceParametersinterface{}required#The parameters for EventBridge to use when invoking the resource endpoint.