Skip to content
v2.277.0

ResourceParametersProperty Struct ​

The parameters for EventBridge to use when invoking the resource endpoint.

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 resourceParametersProperty: events.CfnConnection.ResourceParametersProperty = {
  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

resource_parameters_property = 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.*;

ResourceParametersProperty resourceParametersProperty = ResourceParametersProperty.builder()
        .resourceConfigurationArn("resourceConfigurationArn")

        // the properties below are optional
        .resourceAssociationArn("resourceAssociationArn")
        .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 resourceParametersProperty = 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"

resourceParametersProperty := &ResourceParametersProperty{
	ResourceConfigurationArn: jsii.String("resourceConfigurationArn"),

	// the properties below are optional
	ResourceAssociationArn: jsii.String("resourceAssociationArn"),
}

Properties ​

resourceAssociationArnoptionalstringresource_association_arnoptionalstrresourceAssociationArnoptionalStringResourceAssociationArnoptionalstringResourceAssociationArnoptional*string#
For connections to private APIs, the Amazon Resource Name (ARN) of the resource association EventBridge created between the connection and the private API's resource configuration.

The value of this property is set by EventBridge . Any value you specify in your template is ignored.

resourceConfigurationArnstringresource_configuration_arnstrresourceConfigurationArnStringResourceConfigurationArnstringResourceConfigurationArn*stringrequired#
The Amazon Resource Name (ARN) of the Amazon VPC Lattice resource configuration for the resource endpoint.