You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EC2::Types::CreateVpcEndpointConnectionNotificationRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass CreateVpcEndpointConnectionNotificationRequest data as a hash:

{
  dry_run: false,
  service_id: "String",
  vpc_endpoint_id: "String",
  connection_notification_arn: "String", # required
  connection_events: ["String"], # required
  client_token: "String",
}

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

Returns:

  • (String)


7057
7058
7059
7060
7061
7062
7063
7064
7065
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7057

class CreateVpcEndpointConnectionNotificationRequest < Struct.new(
  :dry_run,
  :service_id,
  :vpc_endpoint_id,
  :connection_notification_arn,
  :connection_events,
  :client_token)
  include Aws::Structure
end

#connection_eventsArray<String>

One or more endpoint events for which to receive notifications. Valid values are Accept, Connect, Delete, and Reject.

Returns:

  • (Array<String>)


7057
7058
7059
7060
7061
7062
7063
7064
7065
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7057

class CreateVpcEndpointConnectionNotificationRequest < Struct.new(
  :dry_run,
  :service_id,
  :vpc_endpoint_id,
  :connection_notification_arn,
  :connection_events,
  :client_token)
  include Aws::Structure
end

#connection_notification_arnString

The ARN of the SNS topic for the notifications.

Returns:

  • (String)


7057
7058
7059
7060
7061
7062
7063
7064
7065
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7057

class CreateVpcEndpointConnectionNotificationRequest < Struct.new(
  :dry_run,
  :service_id,
  :vpc_endpoint_id,
  :connection_notification_arn,
  :connection_events,
  :client_token)
  include Aws::Structure
end

#dry_runBoolean

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Returns:

  • (Boolean)


7057
7058
7059
7060
7061
7062
7063
7064
7065
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7057

class CreateVpcEndpointConnectionNotificationRequest < Struct.new(
  :dry_run,
  :service_id,
  :vpc_endpoint_id,
  :connection_notification_arn,
  :connection_events,
  :client_token)
  include Aws::Structure
end

#service_idString

The ID of the endpoint service.

Returns:

  • (String)


7057
7058
7059
7060
7061
7062
7063
7064
7065
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7057

class CreateVpcEndpointConnectionNotificationRequest < Struct.new(
  :dry_run,
  :service_id,
  :vpc_endpoint_id,
  :connection_notification_arn,
  :connection_events,
  :client_token)
  include Aws::Structure
end

#vpc_endpoint_idString

The ID of the endpoint.

Returns:

  • (String)


7057
7058
7059
7060
7061
7062
7063
7064
7065
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 7057

class CreateVpcEndpointConnectionNotificationRequest < Struct.new(
  :dry_run,
  :service_id,
  :vpc_endpoint_id,
  :connection_notification_arn,
  :connection_events,
  :client_token)
  include Aws::Structure
end