AWS::InspectorV2::CodeSecurityIntegration - AWS CloudFormation

This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::InspectorV2::CodeSecurityIntegration

Creates a code security integration with a source code repository provider.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : "AWS::InspectorV2::CodeSecurityIntegration", "Properties" : { "CreateIntegrationDetails" : CreateDetails, "Name" : String, "Tags" : {Key: Value, ...}, "Type" : String, "UpdateIntegrationDetails" : UpdateDetails } }

YAML

Type: AWS::InspectorV2::CodeSecurityIntegration Properties: CreateIntegrationDetails: CreateDetails Name: String Tags: Key: Value Type: String UpdateIntegrationDetails: UpdateDetails

Properties

CreateIntegrationDetails

Contains details required to create a code security integration with a specific repository provider.

Required: No

Type: CreateDetails

Update requires: Replacement

Name

The name of the code security integration.

Required: No

Type: String

Pattern: ^[a-zA-Z0-9-_$:.]*$

Minimum: 1

Maximum: 60

Update requires: No interruption

Tags

The tags to apply to the code security integration.

Required: No

Type: Object of String

Pattern: ^.{2,127}$

Update requires: Replacement

Type

The type of repository provider for the integration.

Required: No

Type: String

Allowed values: GITLAB_SELF_MANAGED | GITHUB

Update requires: No interruption

UpdateIntegrationDetails

The updated integration details specific to the repository provider type.

Required: No

Type: UpdateDetails

Update requires: No interruption

Return values

Ref

When you pass the logical ID of this resource to the intrinsic Ref function, Ref returns the ARN of the code security integration.

For more information about using the Ref function, see Ref.

Fn::GetAtt

The Fn::GetAtt intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.

For more information about using the Fn::GetAtt intrinsic function, see Fn::GetAtt.

Arn

The Amazon Resource Name (ARN) of the code security integration.

AuthorizationUrl

The URL used to authorize the integration with the repository provider.

CreatedAt

The timestamp when the code security integration was created.

LastUpdatedAt

The timestamp when the code security integration was last updated.

Status

The current status of the integration.

StatusReason

The reason for the current status of the code security integration.