AWS Tools for Windows PowerShell
Command Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Synopsis

Calls the AWS Continuum CreateIntegration API operation.

Syntax

New-CONTIntegration
-Name <String>
-ProviderConfiguration_Gitlab_AccessToken <String>
-ProviderConfiguration_Github_Authorization_AuthorizationCode <String>
-ProviderConfiguration_S3_Bucket <String>
-ProviderConfiguration_S3_ExternalId <String>
-ProviderConfiguration_Gitlab_InstanceUrl <String>
-ProviderConfiguration_Github_OrganizationName <String>
-ProviderConfiguration_Github_Authorization_RedirectUrl <String>
-ProviderConfiguration_S3_RoleArn <String>
-ProviderConfiguration_Github_Authorization_State <String>
-ProviderConfiguration_Gitlab_TargetPath <String>
-ProviderConfiguration_Gitlab_TargetType <GitLabTargetType>
-ClientToken <String>
-Select <String>
-Force <SwitchParameter>
-ClientConfig <AmazonContinuumConfig>

Description

Creates a new integration with an external source provider. Repeating an identical request with the same clientToken returns the original integrationId, integrationArn, and createdAt. Token records are retained for eight hours after success or terminal failure, including after the integration is deleted; replaying a deleted integration's token does not recreate it. An identical request with a retained terminal failure returns the recorded error. Reusing a token with different parameters returns ValidationException. A fresh token starts a new create attempt; if the name is already owned by another integration, ConflictException includes that integration's identifier. An attempt still in progress may return ThrottlingException with retryAfterSeconds set to 1; retry with the same token and identical parameters. GitHub authorization codes are single use. Retry an unresolved attempt with its original token and unchanged parameters first. If the service reports a terminal failure, an expired attempt, or a successful token exchange whose integration could not be saved, restart GitHub authorization with a fresh token and authorization code. The service does not checkpoint provider results for recovery by another request.

Parameters

-ClientConfig <AmazonContinuumConfig>
Amazon.PowerShell.Cmdlets.CONT.AmazonContinuumClientCmdlet.ClientConfig
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ClientToken <String>
An optional token identifying one create attempt within the caller's account, Region, and operation. SDKs generate a token when omitted. If a request reaches the service without a token, the service generates one for that request. Each request without a token starts a new attempt. To replay an attempt, supply the same token and identical input. Authorized users and roles in the same account can retry an attempt this way. Token records are retained for eight hours after success or terminal failure, including after deletion of a successfully created integration. Different input with the same token returns ValidationException.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Name <String>
The name for the integration.
Required?True
Position?1
Accept pipeline input?True (ByValue, ByPropertyName)
-ProviderConfiguration_Github_Authorization_AuthorizationCode <String>
The OAuth authorization code returned by GitHub after the user authorizes the application.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ProviderConfiguration_Github_Authorization_RedirectUrl <String>
The redirect URL used to obtain the authorization code. Must match one of the redirect URLs registered on the GitHub App. If omitted, the App's default redirect URL is used. Not stored or returned after creation.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ProviderConfiguration_Github_Authorization_State <String>
The `state` returned by GitHub in the OAuth callback. It must be the state that StartIntegrationAuthorization returned to the same AWS account, and the authorization request must have sent that call's codeChallenge. The state can be redeemed once. A stage that enforces authorization sessions rejects a missing, expired, already used, or other-account state with ValidationException; restart the authorization with StartIntegrationAuthorization.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ProviderConfiguration_Github_OrganizationName <String>
The name of the GitHub organization to associate with the integration. If not specified, the integration is associated with the authenticated user's personal account.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ProviderConfiguration_Gitlab_AccessToken <String>
The GitLab access token (personal, group or project). Write-only; not stored or returned after creation. If the token carries the self-rotate scope, rotation is opted in and Continuum manages the token thereafter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ProviderConfiguration_Gitlab_InstanceUrl <String>
The HTTPS base URL of the GitLab instance (gitlab.com or self-managed).
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ProviderConfiguration_Gitlab_TargetPath <String>
The group or project path the integration targets.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ProviderConfiguration_Gitlab_TargetType <GitLabTargetType>
Whether the integration targets a group or a single project.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ProviderConfiguration_S3_Bucket <String>
Customer-managed source bucket name.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ProviderConfiguration_S3_ExternalId <String>
Caller-provided external ID required by the role trust policy.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-ProviderConfiguration_S3_RoleArn <String>
Role Continuum will assume to read from the source bucket.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Select <String>
Use the -Select parameter to control the cmdlet output. The default value is '*'. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.Continuum.Model.CreateIntegrationResponse). Specifying the name of a property of type Amazon.Continuum.Model.CreateIntegrationResponse will result in that property being returned. Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)

Common Credential and Region Parameters

-AccessKey <String>
The AWS access key for the user account. This can be a temporary access key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAK
-Credential <AWSCredentials>
An AWSCredentials object instance containing access and secret key information, and optionally a token for session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-EndpointUrl <String>
The endpoint to make the call against.Note: This parameter is primarily for internal AWS use and is not required/should not be specified for normal usage. The cmdlets normally determine which endpoint to call based on the region specified to the -Region parameter or set as default in the shell (via Set-DefaultAWSRegion). Only specify this parameter if you must direct the call to a specific custom endpoint.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-NetworkCredential <PSCredential>
Used with SAML-based authentication when ProfileName references a SAML role profile. Contains the network credentials to be supplied during authentication with the configured identity provider's endpoint. This parameter is not required if the user's default network identity can or should be used during authentication.
Required?False
Position?Named
Accept pipeline input?True (ByValue, ByPropertyName)
-ProfileLocation <String>
Used to specify the name and location of the ini-format credential file (shared with the AWS CLI and other AWS SDKs)If this optional parameter is omitted this cmdlet will search the encrypted credential file used by the AWS SDK for .NET and AWS Toolkit for Visual Studio first. If the profile is not found then the cmdlet will search in the ini-format credential file at the default location: (user's home directory)\.aws\credentials.If this parameter is specified then this cmdlet will only search the ini-format credential file at the location given.As the current folder can vary in a shell or during script execution it is advised that you use specify a fully qualified path instead of a relative path.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesAWSProfilesLocation, ProfilesLocation
-ProfileName <String>
The user-defined name of an AWS credentials or SAML-based role profile containing credential information. The profile is expected to be found in the secure credential file shared with the AWS SDK for .NET and AWS Toolkit for Visual Studio. You can also specify the name of a profile stored in the .ini-format credential file used with the AWS CLI and other AWS SDKs.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesStoredCredentials, AWSProfileName
-Region <Object>
The system name of an AWS region or an AWSRegion instance. This governs the endpoint that will be used when calling service operations. Note that the AWS resources referenced in a call are usually region-specific.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesRegionToCall
-SecretKey <String>
The AWS secret key for the user account. This can be a temporary secret key if the corresponding session token is supplied to the -SessionToken parameter.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesSK, SecretAccessKey
-SessionToken <String>
The session token if the access and secret keys are temporary session-based credentials.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
AliasesST

Outputs

This cmdlet returns an Amazon.Continuum.Model.CreateIntegrationResponse object containing multiple properties.

Supported Version

AWS Tools for PowerShell: 2.x.y.z