# InvocationConnectivityParametersProperty

For connections to private APIs, the parameters to use for invoking the API.

For more information, see [Connecting to private APIs](https://docs.aws.amazon.com/eventbridge/latest/userguide/connection-private.html) in the **Amazon EventBridge User Guide** .

- Source: Generated at build time
- Type last changed: v2.172.0 · 7 Dec 2024

## Example

TypeScript:

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

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

```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();
```

C# / .NET:

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

Golang:

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

- `resourceParameters`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConnection.ResourceParametersProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_events.CfnConnection.ResourceParametersProperty.html) (required) — The parameters for EventBridge to use when invoking the resource endpoint.
