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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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].

[1]: docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html

Returns:

  • (String)


7053
7054
7055
7056
7057
7058
7059
7060
7061
# File 'lib/aws-sdk-ec2/types.rb', line 7053

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


7053
7054
7055
7056
7057
7058
7059
7060
7061
# File 'lib/aws-sdk-ec2/types.rb', line 7053

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)


7053
7054
7055
7056
7057
7058
7059
7060
7061
# File 'lib/aws-sdk-ec2/types.rb', line 7053

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)


7053
7054
7055
7056
7057
7058
7059
7060
7061
# File 'lib/aws-sdk-ec2/types.rb', line 7053

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)


7053
7054
7055
7056
7057
7058
7059
7060
7061
# File 'lib/aws-sdk-ec2/types.rb', line 7053

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)


7053
7054
7055
7056
7057
7058
7059
7060
7061
# File 'lib/aws-sdk-ec2/types.rb', line 7053

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