Class: Aws::ServiceCatalog::Types::SourceConnection

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

Overview

Note:

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

{
  type: "CODESTAR", # accepts CODESTAR
  connection_parameters: { # required
    code_star: {
      connection_arn: "CodeStarConnectionArn", # required
      repository: "Repository", # required
      branch: "RepositoryBranch", # required
      artifact_path: "RepositoryArtifactPath", # required
    },
  },
}

A top level ‘ProductViewDetail` response containing details about the product’s connection. Service Catalog returns this field for the `CreateProduct`, `UpdateProduct`, `DescribeProductAsAdmin`, and `SearchProductAsAdmin` APIs. This response contains the same fields as the `ConnectionParameters` request, with the addition of the `LastSync` response.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#connection_parametersTypes::SourceConnectionParameters

The connection details based on the connection ‘Type`.



7011
7012
7013
7014
7015
7016
# File 'lib/aws-sdk-servicecatalog/types.rb', line 7011

class SourceConnection < Struct.new(
  :type,
  :connection_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The only supported ‘SourceConnection` type is Codestar.

Returns:

  • (String)


7011
7012
7013
7014
7015
7016
# File 'lib/aws-sdk-servicecatalog/types.rb', line 7011

class SourceConnection < Struct.new(
  :type,
  :connection_parameters)
  SENSITIVE = []
  include Aws::Structure
end