Bearbeiten

Freigeben über


New-AzPurviewAmazonS3CredentialScanObject

Create an in-memory object for AmazonS3CredentialScan.

Syntax

New-AzPurviewAmazonS3CredentialScanObject
   -Kind <ScanAuthorizationType>
   [-CollectionReferenceName <String>]
   [-CollectionType <String>]
   [-ConnectedViaReferenceName <String>]
   [-CredentialReferenceName <String>]
   [-CredentialType <CredentialType>]
   [-IsMauiScan <Boolean>]
   [-RoleArn <String>]
   [-ScanRulesetName <String>]
   [-ScanRulesetType <ScanRulesetType>]
   [-Worker <Int32>]
   [<CommonParameters>]

Description

Create an in-memory object for AmazonS3CredentialScan.

Examples

Example 1: Create Amazon S3 Credential scan object

New-AzPurviewAmazonS3CredentialScanObject -Kind 'AmazonS3Credential' -CollectionReferenceName 'parv-brs-2' -CollectionType 'CollectionReference' -CredentialReferenceName 'rolearncred' -CredentialType 'AmazonARN' -ScanRulesetName 'AmazonS3' -ScanRulesetType 'System' -IsMauiScan $false

CollectionLastModifiedAt  :
CollectionReferenceName   : parv-brs-2
CollectionType            : CollectionReference
ConnectedViaReferenceName :
CreatedAt                 :
CredentialReferenceName   : rolearncred
CredentialType            : AmazonARN
Id                        :
IsMauiScan                : False
Kind                      : AmazonS3Credential
LastModifiedAt            :
Name                      :
Result                    :
RoleArn                   :
ScanRulesetName           : AmazonS3
ScanRulesetType           : System
Worker                    :

Create Amazon S3 Credential scan object

Parameters

-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

-ConnectedViaReferenceName

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

-CredentialReferenceName

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

-CredentialType

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

-IsMauiScan

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

-Kind

Type:ScanAuthorizationType
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

-ScanRulesetName

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

-ScanRulesetType

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

-Worker

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

Outputs

AmazonS3CredentialScan