AuthorizerConfigProperty Struct
An object that specifies the authorization service for a domain.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const authorizerConfigProperty: iot.CfnDomainConfiguration.AuthorizerConfigProperty = {
allowAuthorizerOverride: false,
defaultAuthorizerName: 'defaultAuthorizerName',
};
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_iot as iot
authorizer_config_property = iot.CfnDomainConfiguration.AuthorizerConfigProperty(
allow_authorizer_override=False,
default_authorizer_name="defaultAuthorizerName"
)
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.iot.*;
AuthorizerConfigProperty authorizerConfigProperty = AuthorizerConfigProperty.builder()
.allowAuthorizerOverride(false)
.defaultAuthorizerName("defaultAuthorizerName")
.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.IoT;
var authorizerConfigProperty = new AuthorizerConfigProperty {
AllowAuthorizerOverride = false,
DefaultAuthorizerName = "defaultAuthorizerName"
};
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"
authorizerConfigProperty := &AuthorizerConfigProperty{
AllowAuthorizerOverride: jsii.Boolean(false),
DefaultAuthorizerName: jsii.String("defaultAuthorizerName"),
}
Properties
allowAuthorizerOverrideoptionalboolean | IResolvableallow_authorizer_overrideoptionaltyping.Union[bool, IResolvable]allowAuthorizerOverrideoptionalBooleanAllowAuthorizerOverrideoptionalboolAllowAuthorizerOverrideoptionalinterface{} #A Boolean that specifies whether the domain configuration's authorization service can be overridden.
defaultAuthorizerNameoptionalstringdefault_authorizer_nameoptionalstrdefaultAuthorizerNameoptionalStringDefaultAuthorizerNameoptionalstringDefaultAuthorizerNameoptional*string #The name of the authorization service for a domain configuration.