Bases: Resource
Base class for all custom authorizers.
scope (Construct
)
id (str
)
account (Optional
[str
]) â The AWS account ID this resource belongs to. Default: - the resource is in the same account as the stack it belongs to
environment_from_arn (Optional
[str
]) â ARN to deduce region and account from. The ARN is parsed and the account and region are taken from the ARN. This should be used for imported resources. Cannot be supplied together with either account
or region
. Default: - take environment from account
, region
parameters, or use Stack environment.
physical_name (Optional
[str
]) â The value passed in by users to the physical name prop of the resource. - undefined
implies that a physical name will be allocated by CloudFormation during deployment. - a concrete value implies a specific physical name - PhysicalName.GENERATE_IF_NEEDED
is a marker that indicates that a physical will only be generated by the CDK if it is needed for cross-environment references. Otherwise, it will be allocated by CloudFormation. Default: - The physical name will be allocated by CloudFormation at deployment time
region (Optional
[str
]) â The AWS region this resource belongs to. Default: - the resource is in the same region as the stack it belongs to
Methods
Apply the given removal policy to this resource.
The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because youâve removed it from the CDK application or because youâve made a change that requires the resource to be replaced.
The resource can be deleted (RemovalPolicy.DESTROY
), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN
).
policy (RemovalPolicy
)
None
Returns a string representation of this construct.
str
Attributes
The authorization type of this authorizer.
The authorizer ID.
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
The construct tree node associated with this construct.
The stack in which this resource is defined.
Static Methods
Return whether the given object is an Authorizer.
x (Any
)
bool
Return whether the given object is a Construct.
x (Any
)
bool
Check whether the given construct is a Resource.
construct (IConstruct
)
bool
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4