Class CfnPermissionMixinProps.Jsii$Proxy
- All Implemented Interfaces:
CfnPermissionMixinProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnPermissionMixinProps
CfnPermissionMixinProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnPermissionMixinProps
CfnPermissionMixinProps.Builder, CfnPermissionMixinProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnPermissionMixinProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe action that the principal can use on the function.final StringFor Alexa Smart Home functions, a token that the invoker must supply.final ObjectThe name or ARN of the Lambda function, version, or alias.final StringThe type of authentication that your function URL uses.final ObjectIndicates whether the permission applies when the function is invoked through a function URL.final ObjectThe AWS service , AWS account , IAM user, or IAM role that invokes the function.final StringThe identifier for your organization in AWS Organizations .final StringFor AWS service , the ID of the AWS account that owns the resource.final ObjectFor AWS services , the ARN of the AWS resource that invokes the function.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnPermissionMixinProps.Builder.
-
-
Method Details
-
getAction
Description copied from interface:CfnPermissionMixinPropsThe action that the principal can use on the function.For example,
lambda:InvokeFunctionorlambda:GetFunction.- Specified by:
getActionin interfaceCfnPermissionMixinProps- See Also:
-
getEventSourceToken
Description copied from interface:CfnPermissionMixinPropsFor Alexa Smart Home functions, a token that the invoker must supply.- Specified by:
getEventSourceTokenin interfaceCfnPermissionMixinProps- See Also:
-
getFunctionName
Description copied from interface:CfnPermissionMixinPropsThe name or ARN of the Lambda function, version, or alias.Name formats - Function name –
my-function(name-only),my-function:v1(with alias).- Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function. - Partial ARN –
123456789012:function:my-function.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
Returns union: either
StringorIFunctionReforIVersionRef- Specified by:
getFunctionNamein interfaceCfnPermissionMixinProps- See Also:
- Function ARN –
-
getFunctionUrlAuthType
Description copied from interface:CfnPermissionMixinPropsThe type of authentication that your function URL uses.Set to
AWS_IAMif you want to restrict access to authenticated users only. Set toNONEif you want to bypass IAM authentication to create a public endpoint. For more information, see Control access to Lambda function URLs .- Specified by:
getFunctionUrlAuthTypein interfaceCfnPermissionMixinProps- See Also:
-
getInvokedViaFunctionUrl
Description copied from interface:CfnPermissionMixinPropsIndicates whether the permission applies when the function is invoked through a function URL.Returns union: either
BooleanorIResolvable- Specified by:
getInvokedViaFunctionUrlin interfaceCfnPermissionMixinProps- See Also:
-
getPrincipal
Description copied from interface:CfnPermissionMixinPropsThe AWS service , AWS account , IAM user, or IAM role that invokes the function.If you specify a service, use
SourceArnorSourceAccountto limit who can invoke the function through that service.- Specified by:
getPrincipalin interfaceCfnPermissionMixinProps- See Also:
-
getPrincipalOrgId
Description copied from interface:CfnPermissionMixinPropsThe identifier for your organization in AWS Organizations .Use this to grant permissions to all the AWS accounts under this organization.
- Specified by:
getPrincipalOrgIdin interfaceCfnPermissionMixinProps- See Also:
-
getSourceAccount
Description copied from interface:CfnPermissionMixinPropsFor AWS service , the ID of the AWS account that owns the resource.Use this together with
SourceArnto ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.- Specified by:
getSourceAccountin interfaceCfnPermissionMixinProps- See Also:
-
getSourceArn
Description copied from interface:CfnPermissionMixinPropsFor AWS services , the ARN of the AWS resource that invokes the function.For example, an Amazon S3 bucket or Amazon SNS topic.
Note that Lambda configures the comparison using the
StringLikeoperator.Returns union: either
StringorIUserPoolReforIRuleReforIRoleReforITopicRuleReforIDeliveryStreamReforIFunctionReforILogGroupReforIBucketReforITopicReforIQueueRef- Specified by:
getSourceArnin interfaceCfnPermissionMixinProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-