The Custom::OracleUser resource creates an oracle database user.
To declare this entity in your AWS CloudFormation template, use the following syntax:
Type: Custom::OracleUser
Properties:
Name: String
Adopt: Boolean
ResourceRole: Boolean
Password: String
PasswordParameterName: String
DeletionPolicy: Retain/Drop
Database:
Host: STRING
Port: INTEGER
User: STRING
DBName: STRING
Password: STRING
PasswordParameterName: STRING
ServiceToken: !Sub 'arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:binxio-cfn-oracle-user-provider-vpc-${AppVPC}'If the user is created, it is granted the 'Connect' role. When a user is adopted, the password is changed and the account is unlocked: no grants are assigned.
When the DeletionPolicy is Retain the user is locked instead of dropped.
You can specify the following properties:
Name- of the user to createAdopt- an existing user, default False.ResourceRole- grant resource role to the user, default False.Password- of the userPasswordParameterName- name of the parameter in the store containing the password of the user.DeletionPolicy- when the resource is deleted, default isRetain.Database- connection information of the database owner --Host- the database server is listening on. --Port- port the database server is listening on. --DBName- name to connect to. --User- name of the database owner. --Password- to identify the user with. --PasswordParameterName- name of the parameter in the store containing the password of the user
Either Password or PasswordParameterName is required.
There are no return values from this resources.