Skip to content
v2.277.0

AuthenticationProperty Struct ​

Authentication configuration for a pentest actor.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityagent as securityagent } from 'aws-cdk-lib';
const authenticationProperty: securityagent.CfnPentest.AuthenticationProperty = {
  providerType: 'providerType',
  value: 'value',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_securityagent as securityagent

authentication_property = securityagent.CfnPentest.AuthenticationProperty(
    provider_type="providerType",
    value="value"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.securityagent.*;

AuthenticationProperty authenticationProperty = AuthenticationProperty.builder()
        .providerType("providerType")
        .value("value")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SecurityAgent;

var authenticationProperty = new AuthenticationProperty {
    ProviderType = "providerType",
    Value = "value"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

authenticationProperty := &AuthenticationProperty{
	ProviderType: jsii.String("providerType"),
	Value: jsii.String("value"),
}

Properties ​

providerTypeoptionalstringprovider_typeoptionalstrproviderTypeoptionalStringProviderTypeoptionalstringProviderTypeoptional*string#
Type of authentication provider.
valueoptionalstringvalueoptionalstrvalueoptionalStringValueoptionalstringValueoptional*string#
Reference value for the authentication provider, such as a secret ARN or Lambda ARN.