New-AzPurviewAmazonAccountDataSourceObject

Create an in-memory object for AmazonAccountDataSource.

Syntax

New-AzPurviewAmazonAccountDataSourceObject
   -Kind <DataSourceType>
   [-AwsAccountId <String>]
   [-CollectionReferenceName <String>]
   [-CollectionType <String>]
   [-RoleArn <String>]
   [<CommonParameters>]

Description

Create an in-memory object for AmazonAccountDataSource.

Examples

Example 1: Create Amazon Account data source object

New-AzPurviewAmazonAccountDataSourceObject -Kind 'AmazonAccount' -AwsAccountId 123456789012 -CollectionReferenceName parv-brs-2 -CollectionType 'CollectionReference'

AwsAccountId             : 123456789012
CollectionLastModifiedAt :
CollectionReferenceName  : parv-brs-2
CollectionType           : CollectionReference
CreatedAt                :
Id                       :
Kind                     : AmazonAccount
LastModifiedAt           :
Name                     :
RoleArn                  :
Scan                     :

Create Amazon Account data source object

Parameters

-AwsAccountId

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CollectionReferenceName

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-CollectionType

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Kind

Type:DataSourceType
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-RoleArn

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

AmazonAccountDataSource