Class: Aws::VPCLattice::Types::CreateResourceConfigurationRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-vpclattice/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allow_association_to_shareable_service_networkBoolean

(SINGLE, GROUP, ARN) Specifies whether the resource configuration can be associated with a sharable service network. The default is false.

Returns:

  • (Boolean)


406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'lib/aws-sdk-vpclattice/types.rb', line 406

class CreateResourceConfigurationRequest < Struct.new(
  :allow_association_to_shareable_service_network,
  :client_token,
  :name,
  :port_ranges,
  :protocol,
  :resource_configuration_definition,
  :resource_configuration_group_identifier,
  :resource_gateway_identifier,
  :tags,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren’t identical, the retry fails.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'lib/aws-sdk-vpclattice/types.rb', line 406

class CreateResourceConfigurationRequest < Struct.new(
  :allow_association_to_shareable_service_network,
  :client_token,
  :name,
  :port_ranges,
  :protocol,
  :resource_configuration_definition,
  :resource_configuration_group_identifier,
  :resource_gateway_identifier,
  :tags,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the resource configuration. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can’t use a hyphen as the first or last character, or immediately after another hyphen.

Returns:

  • (String)


406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'lib/aws-sdk-vpclattice/types.rb', line 406

class CreateResourceConfigurationRequest < Struct.new(
  :allow_association_to_shareable_service_network,
  :client_token,
  :name,
  :port_ranges,
  :protocol,
  :resource_configuration_definition,
  :resource_configuration_group_identifier,
  :resource_gateway_identifier,
  :tags,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#port_rangesArray<String>

(SINGLE, GROUP, CHILD) The TCP port ranges that a consumer can use to access a resource configuration (for example: 1-65535). You can separate port ranges using commas (for example: 1,2,22-30).

Returns:

  • (Array<String>)


406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'lib/aws-sdk-vpclattice/types.rb', line 406

class CreateResourceConfigurationRequest < Struct.new(
  :allow_association_to_shareable_service_network,
  :client_token,
  :name,
  :port_ranges,
  :protocol,
  :resource_configuration_definition,
  :resource_configuration_group_identifier,
  :resource_gateway_identifier,
  :tags,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#protocolString

(SINGLE, GROUP) The protocol accepted by the resource configuration.

Returns:

  • (String)


406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'lib/aws-sdk-vpclattice/types.rb', line 406

class CreateResourceConfigurationRequest < Struct.new(
  :allow_association_to_shareable_service_network,
  :client_token,
  :name,
  :port_ranges,
  :protocol,
  :resource_configuration_definition,
  :resource_configuration_group_identifier,
  :resource_gateway_identifier,
  :tags,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#resource_configuration_definitionTypes::ResourceConfigurationDefinition

(SINGLE, CHILD, ARN) The resource configuration.



406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'lib/aws-sdk-vpclattice/types.rb', line 406

class CreateResourceConfigurationRequest < Struct.new(
  :allow_association_to_shareable_service_network,
  :client_token,
  :name,
  :port_ranges,
  :protocol,
  :resource_configuration_definition,
  :resource_configuration_group_identifier,
  :resource_gateway_identifier,
  :tags,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#resource_configuration_group_identifierString

(CHILD) The ID or ARN of the parent resource configuration (type is ‘GROUP`). This is used to associate a child resource configuration with a group resource configuration.

Returns:

  • (String)


406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'lib/aws-sdk-vpclattice/types.rb', line 406

class CreateResourceConfigurationRequest < Struct.new(
  :allow_association_to_shareable_service_network,
  :client_token,
  :name,
  :port_ranges,
  :protocol,
  :resource_configuration_definition,
  :resource_configuration_group_identifier,
  :resource_gateway_identifier,
  :tags,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#resource_gateway_identifierString

(SINGLE, GROUP, ARN) The ID or ARN of the resource gateway used to connect to the resource configuration. For a child resource configuration, this value is inherited from the parent resource configuration.

Returns:

  • (String)


406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'lib/aws-sdk-vpclattice/types.rb', line 406

class CreateResourceConfigurationRequest < Struct.new(
  :allow_association_to_shareable_service_network,
  :client_token,
  :name,
  :port_ranges,
  :protocol,
  :resource_configuration_definition,
  :resource_configuration_group_identifier,
  :resource_gateway_identifier,
  :tags,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags for the resource configuration.

Returns:

  • (Hash<String,String>)


406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'lib/aws-sdk-vpclattice/types.rb', line 406

class CreateResourceConfigurationRequest < Struct.new(
  :allow_association_to_shareable_service_network,
  :client_token,
  :name,
  :port_ranges,
  :protocol,
  :resource_configuration_definition,
  :resource_configuration_group_identifier,
  :resource_gateway_identifier,
  :tags,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of resource configuration.

  • ‘SINGLE` - A single resource.

  • ‘GROUP` - A group of resources. You must create a group resource configuration before you create a child resource configuration.

  • ‘CHILD` - A single resource that is part of a group resource configuration.

  • ‘ARN` - An Amazon Web Services resource.

Returns:

  • (String)


406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'lib/aws-sdk-vpclattice/types.rb', line 406

class CreateResourceConfigurationRequest < Struct.new(
  :allow_association_to_shareable_service_network,
  :client_token,
  :name,
  :port_ranges,
  :protocol,
  :resource_configuration_definition,
  :resource_configuration_group_identifier,
  :resource_gateway_identifier,
  :tags,
  :type)
  SENSITIVE = []
  include Aws::Structure
end